hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgumas...@apache.org
Subject [22/51] [partial] hive git commit: HIVE-12442: Refactor/repackage HiveServer2's Thrift code so that it can be used in the tasks (Rohit Dholakia reviewed by Vaibhav Gumashta)
Date Mon, 11 Jan 2016 08:26:05 GMT
http://git-wip-us.apache.org/repos/asf/hive/blob/3a1c4b57/service-rpc/src/gen/thrift/gen-py/TCLIService/__init__.py
----------------------------------------------------------------------
diff --git a/service-rpc/src/gen/thrift/gen-py/TCLIService/__init__.py b/service-rpc/src/gen/thrift/gen-py/TCLIService/__init__.py
new file mode 100644
index 0000000..fe5e7c2
--- /dev/null
+++ b/service-rpc/src/gen/thrift/gen-py/TCLIService/__init__.py
@@ -0,0 +1 @@
+__all__ = ['ttypes', 'constants', 'TCLIService']

http://git-wip-us.apache.org/repos/asf/hive/blob/3a1c4b57/service-rpc/src/gen/thrift/gen-py/TCLIService/constants.py
----------------------------------------------------------------------
diff --git a/service-rpc/src/gen/thrift/gen-py/TCLIService/constants.py b/service-rpc/src/gen/thrift/gen-py/TCLIService/constants.py
new file mode 100644
index 0000000..c8d4f8f
--- /dev/null
+++ b/service-rpc/src/gen/thrift/gen-py/TCLIService/constants.py
@@ -0,0 +1,67 @@
+#
+# Autogenerated by Thrift Compiler (0.9.3)
+#
+# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+#
+#  options string: py
+#
+
+from thrift.Thrift import TType, TMessageType, TException, TApplicationException
+from ttypes import *
+
+PRIMITIVE_TYPES = set([
+    0,
+    1,
+    2,
+    3,
+    4,
+    5,
+    6,
+    7,
+    8,
+    9,
+    15,
+    16,
+    17,
+    18,
+    19,
+    20,
+    21,
+])
+COMPLEX_TYPES = set([
+    10,
+    11,
+    12,
+    13,
+    14,
+])
+COLLECTION_TYPES = set([
+    10,
+    11,
+])
+TYPE_NAMES = {
+    0 : "BOOLEAN",
+    1 : "TINYINT",
+    2 : "SMALLINT",
+    3 : "INT",
+    4 : "BIGINT",
+    5 : "FLOAT",
+    6 : "DOUBLE",
+    7 : "STRING",
+    8 : "TIMESTAMP",
+    9 : "BINARY",
+    10 : "ARRAY",
+    11 : "MAP",
+    12 : "STRUCT",
+    13 : "UNIONTYPE",
+    15 : "DECIMAL",
+    16 : "NULL",
+    17 : "DATE",
+    18 : "VARCHAR",
+    19 : "CHAR",
+    20 : "INTERVAL_YEAR_MONTH",
+    21 : "INTERVAL_DAY_TIME",
+}
+CHARACTER_MAXIMUM_LENGTH = "characterMaximumLength"
+PRECISION = "precision"
+SCALE = "scale"


Mime
View raw message