apache-iotdb 1.3.0__tar.gz → 1.3.2__tar.gz

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.
Files changed (73) hide show
  1. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/PKG-INFO +6 -1
  2. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/apache_iotdb.egg-info/PKG-INFO +6 -1
  3. apache_iotdb-1.3.2/apache_iotdb.egg-info/requires.txt +5 -0
  4. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/template/TemplateNode.py +3 -6
  5. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/thrift/common/ttypes.py +64 -1
  6. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/thrift/rpc/IClientRPCService.py +773 -75
  7. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/thrift/rpc/ttypes.py +210 -7
  8. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/tsfile/common/constant/TsFileConstant.py +1 -2
  9. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/IoTDBRpcDataSet.py +10 -4
  10. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/setup.py +4 -5
  11. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_dataframe.py +1 -1
  12. apache-iotdb-1.3.0/apache_iotdb.egg-info/requires.txt +0 -6
  13. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/README.md +0 -0
  14. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/apache_iotdb.egg-info/SOURCES.txt +0 -0
  15. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/apache_iotdb.egg-info/dependency_links.txt +0 -0
  16. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/apache_iotdb.egg-info/entry_points.txt +0 -0
  17. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/apache_iotdb.egg-info/top_level.txt +0 -0
  18. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/IoTDBContainer.py +0 -0
  19. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/Session.py +0 -0
  20. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/SessionPool.py +0 -0
  21. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/__init__.py +0 -0
  22. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/dbapi/Connection.py +0 -0
  23. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/dbapi/Cursor.py +0 -0
  24. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/dbapi/Exceptions.py +0 -0
  25. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/dbapi/__init__.py +0 -0
  26. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/dbapi/tests/__init__.py +0 -0
  27. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/dbapi/tests/test_connection.py +0 -0
  28. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/dbapi/tests/test_cursor.py +0 -0
  29. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/sqlalchemy/IoTDBDialect.py +0 -0
  30. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/sqlalchemy/IoTDBIdentifierPreparer.py +0 -0
  31. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/sqlalchemy/IoTDBSQLCompiler.py +0 -0
  32. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/sqlalchemy/IoTDBTypeCompiler.py +0 -0
  33. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/sqlalchemy/__init__.py +0 -0
  34. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/sqlalchemy/tests/__init__.py +0 -0
  35. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/sqlalchemy/tests/test_dialect.py +0 -0
  36. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/template/InternalNode.py +0 -0
  37. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/template/MeasurementNode.py +0 -0
  38. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/template/Template.py +0 -0
  39. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/template/TemplateQueryType.py +0 -0
  40. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/template/__init__.py +0 -0
  41. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/thrift/__init__.py +0 -0
  42. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/thrift/common/__init__.py +0 -0
  43. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/thrift/common/constants.py +0 -0
  44. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/thrift/rpc/__init__.py +0 -0
  45. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/thrift/rpc/constants.py +0 -0
  46. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/tsfile/__init__.py +0 -0
  47. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/tsfile/common/__init__.py +0 -0
  48. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/tsfile/common/constant/__init__.py +0 -0
  49. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/tsfile/utils/Pair.py +0 -0
  50. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/tsfile/utils/ReadWriteIOUtils.py +0 -0
  51. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/tsfile/utils/__init__.py +0 -0
  52. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/BitMap.py +0 -0
  53. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/Field.py +0 -0
  54. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/IoTDBConnectionException.py +0 -0
  55. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/IoTDBConstants.py +0 -0
  56. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/NumpyTablet.py +0 -0
  57. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/RowRecord.py +0 -0
  58. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/SessionDataSet.py +0 -0
  59. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/Tablet.py +0 -0
  60. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/iotdb/utils/__init__.py +0 -0
  61. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/pyproject.toml +0 -0
  62. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/setup.cfg +0 -0
  63. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/__init__.py +0 -0
  64. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/tablet_performance_comparison.py +0 -0
  65. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_aligned_timeseries.py +0 -0
  66. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_delete_data.py +0 -0
  67. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_numpy_tablet.py +0 -0
  68. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_one_device.py +0 -0
  69. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_session.py +0 -0
  70. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_session_pool.py +0 -0
  71. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_tablet.py +0 -0
  72. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_template.py +0 -0
  73. {apache-iotdb-1.3.0 → apache_iotdb-1.3.2}/tests/test_todf.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-iotdb
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Apache IoTDB client API
5
5
  Home-page: https://github.com/apache/iotdb
6
6
  Author: Apache Software Foundation
@@ -13,6 +13,11 @@ Classifier: Topic :: Software Development :: Libraries
13
13
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
14
  Requires-Python: >=3.7
15
15
  Description-Content-Type: text/markdown
16
+ Requires-Dist: thrift>=0.14.1
17
+ Requires-Dist: pandas>=1.3.5
18
+ Requires-Dist: numpy>=1.21.4
19
+ Requires-Dist: sqlalchemy<1.5,>=1.4
20
+ Requires-Dist: sqlalchemy-utils>=0.37.8
16
21
 
17
22
  <!--
18
23
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-iotdb
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Apache IoTDB client API
5
5
  Home-page: https://github.com/apache/iotdb
6
6
  Author: Apache Software Foundation
@@ -13,6 +13,11 @@ Classifier: Topic :: Software Development :: Libraries
13
13
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
14
  Requires-Python: >=3.7
15
15
  Description-Content-Type: text/markdown
16
+ Requires-Dist: thrift>=0.14.1
17
+ Requires-Dist: pandas>=1.3.5
18
+ Requires-Dist: numpy>=1.21.4
19
+ Requires-Dist: sqlalchemy<1.5,>=1.4
20
+ Requires-Dist: sqlalchemy-utils>=0.37.8
16
21
 
17
22
  <!--
18
23
 
@@ -0,0 +1,5 @@
1
+ thrift>=0.14.1
2
+ pandas>=1.3.5
3
+ numpy>=1.21.4
4
+ sqlalchemy<1.5,>=1.4
5
+ sqlalchemy-utils>=0.37.8
@@ -31,11 +31,9 @@ class TemplateNode(object):
31
31
  def get_children(self):
32
32
  return None
33
33
 
34
- def add_child(self, node):
35
- ...
34
+ def add_child(self, node): ...
36
35
 
37
- def delete_child(self, node):
38
- ...
36
+ def delete_child(self, node): ...
39
37
 
40
38
  def is_measurement(self):
41
39
  return False
@@ -43,5 +41,4 @@ class TemplateNode(object):
43
41
  def is_share_time(self):
44
42
  return False
45
43
 
46
- def serialize(self, *args, **kwargs):
47
- ...
44
+ def serialize(self, *args, **kwargs): ...
@@ -40,6 +40,7 @@ class TRegionMigrateFailedType(object):
40
40
  RemoveConsensusGroupFailed = 2
41
41
  DeleteRegionFailed = 3
42
42
  CreateRegionFailed = 4
43
+ Disconnect = 5
43
44
 
44
45
  _VALUES_TO_NAMES = {
45
46
  0: "AddPeerFailed",
@@ -47,6 +48,7 @@ class TRegionMigrateFailedType(object):
47
48
  2: "RemoveConsensusGroupFailed",
48
49
  3: "DeleteRegionFailed",
49
50
  4: "CreateRegionFailed",
51
+ 5: "Disconnect",
50
52
  }
51
53
 
52
54
  _NAMES_TO_VALUES = {
@@ -55,6 +57,28 @@ class TRegionMigrateFailedType(object):
55
57
  "RemoveConsensusGroupFailed": 2,
56
58
  "DeleteRegionFailed": 3,
57
59
  "CreateRegionFailed": 4,
60
+ "Disconnect": 5,
61
+ }
62
+
63
+
64
+ class TRegionMaintainTaskStatus(object):
65
+ TASK_NOT_EXIST = 0
66
+ PROCESSING = 1
67
+ SUCCESS = 2
68
+ FAIL = 3
69
+
70
+ _VALUES_TO_NAMES = {
71
+ 0: "TASK_NOT_EXIST",
72
+ 1: "PROCESSING",
73
+ 2: "SUCCESS",
74
+ 3: "FAIL",
75
+ }
76
+
77
+ _NAMES_TO_VALUES = {
78
+ "TASK_NOT_EXIST": 0,
79
+ "PROCESSING": 1,
80
+ "SUCCESS": 2,
81
+ "FAIL": 3,
58
82
  }
59
83
 
60
84
 
@@ -100,6 +124,15 @@ class TAggregationType(object):
100
124
  TIME_DURATION = 11
101
125
  MODE = 12
102
126
  COUNT_TIME = 13
127
+ STDDEV = 14
128
+ STDDEV_POP = 15
129
+ STDDEV_SAMP = 16
130
+ VARIANCE = 17
131
+ VAR_POP = 18
132
+ VAR_SAMP = 19
133
+ MAX_BY = 20
134
+ MIN_BY = 21
135
+ UDAF = 22
103
136
 
104
137
  _VALUES_TO_NAMES = {
105
138
  0: "COUNT",
@@ -116,6 +149,15 @@ class TAggregationType(object):
116
149
  11: "TIME_DURATION",
117
150
  12: "MODE",
118
151
  13: "COUNT_TIME",
152
+ 14: "STDDEV",
153
+ 15: "STDDEV_POP",
154
+ 16: "STDDEV_SAMP",
155
+ 17: "VARIANCE",
156
+ 18: "VAR_POP",
157
+ 19: "VAR_SAMP",
158
+ 20: "MAX_BY",
159
+ 21: "MIN_BY",
160
+ 22: "UDAF",
119
161
  }
120
162
 
121
163
  _NAMES_TO_VALUES = {
@@ -133,6 +175,15 @@ class TAggregationType(object):
133
175
  "TIME_DURATION": 11,
134
176
  "MODE": 12,
135
177
  "COUNT_TIME": 13,
178
+ "STDDEV": 14,
179
+ "STDDEV_POP": 15,
180
+ "STDDEV_SAMP": 16,
181
+ "VARIANCE": 17,
182
+ "VAR_POP": 18,
183
+ "VAR_SAMP": 19,
184
+ "MAX_BY": 20,
185
+ "MIN_BY": 21,
186
+ "UDAF": 22,
136
187
  }
137
188
 
138
189
 
@@ -215,15 +266,17 @@ class TSStatus(object):
215
266
  - message
216
267
  - subStatus
217
268
  - redirectNode
269
+ - needRetry
218
270
 
219
271
  """
220
272
 
221
273
 
222
- def __init__(self, code=None, message=None, subStatus=None, redirectNode=None,):
274
+ def __init__(self, code=None, message=None, subStatus=None, redirectNode=None, needRetry=None,):
223
275
  self.code = code
224
276
  self.message = message
225
277
  self.subStatus = subStatus
226
278
  self.redirectNode = redirectNode
279
+ self.needRetry = needRetry
227
280
 
228
281
  def read(self, iprot):
229
282
  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
@@ -261,6 +314,11 @@ class TSStatus(object):
261
314
  self.redirectNode.read(iprot)
262
315
  else:
263
316
  iprot.skip(ftype)
317
+ elif fid == 5:
318
+ if ftype == TType.BOOL:
319
+ self.needRetry = iprot.readBool()
320
+ else:
321
+ iprot.skip(ftype)
264
322
  else:
265
323
  iprot.skip(ftype)
266
324
  iprot.readFieldEnd()
@@ -290,6 +348,10 @@ class TSStatus(object):
290
348
  oprot.writeFieldBegin('redirectNode', TType.STRUCT, 4)
291
349
  self.redirectNode.write(oprot)
292
350
  oprot.writeFieldEnd()
351
+ if self.needRetry is not None:
352
+ oprot.writeFieldBegin('needRetry', TType.BOOL, 5)
353
+ oprot.writeBool(self.needRetry)
354
+ oprot.writeFieldEnd()
293
355
  oprot.writeFieldStop()
294
356
  oprot.writeStructEnd()
295
357
 
@@ -1949,6 +2011,7 @@ TSStatus.thrift_spec = (
1949
2011
  (2, TType.STRING, 'message', 'UTF8', None, ), # 2
1950
2012
  (3, TType.LIST, 'subStatus', (TType.STRUCT, [TSStatus, None], False), None, ), # 3
1951
2013
  (4, TType.STRUCT, 'redirectNode', [TEndPoint, None], None, ), # 4
2014
+ (5, TType.BOOL, 'needRetry', None, None, ), # 5
1952
2015
  )
1953
2016
  all_structs.append(TConsensusGroupId)
1954
2017
  TConsensusGroupId.thrift_spec = (