databricks-sql-connector 0.9.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ __all__ = ['ttypes', 'constants', 'TCLIService']
@@ -0,0 +1,68 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.10.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+ # options string: py
7
+ #
8
+
9
+ from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
10
+ from thrift.protocol.TProtocol import TProtocolException
11
+ import sys
12
+ from .ttypes import *
13
+ PRIMITIVE_TYPES = set((
14
+ 0,
15
+ 1,
16
+ 2,
17
+ 3,
18
+ 4,
19
+ 5,
20
+ 6,
21
+ 7,
22
+ 8,
23
+ 9,
24
+ 15,
25
+ 16,
26
+ 17,
27
+ 18,
28
+ 19,
29
+ 20,
30
+ 21,
31
+ ))
32
+ COMPLEX_TYPES = set((
33
+ 10,
34
+ 11,
35
+ 12,
36
+ 13,
37
+ 14,
38
+ ))
39
+ COLLECTION_TYPES = set((
40
+ 10,
41
+ 11,
42
+ ))
43
+ TYPE_NAMES = {
44
+ 0: "BOOLEAN",
45
+ 1: "TINYINT",
46
+ 2: "SMALLINT",
47
+ 3: "INT",
48
+ 4: "BIGINT",
49
+ 5: "FLOAT",
50
+ 6: "DOUBLE",
51
+ 7: "STRING",
52
+ 8: "TIMESTAMP",
53
+ 9: "BINARY",
54
+ 10: "ARRAY",
55
+ 11: "MAP",
56
+ 12: "STRUCT",
57
+ 13: "UNIONTYPE",
58
+ 15: "DECIMAL",
59
+ 16: "NULL",
60
+ 17: "DATE",
61
+ 18: "VARCHAR",
62
+ 19: "CHAR",
63
+ 20: "INTERVAL_YEAR_MONTH",
64
+ 21: "INTERVAL_DAY_TIME",
65
+ }
66
+ CHARACTER_MAXIMUM_LENGTH = "characterMaximumLength"
67
+ PRECISION = "precision"
68
+ SCALE = "scale"