apache-iotdb 2.0.1b0__tar.gz → 2.0.4.dev0__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.
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/PKG-INFO +6 -6
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/README.md +2 -2
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/apache_iotdb.egg-info/PKG-INFO +6 -6
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/apache_iotdb.egg-info/SOURCES.txt +18 -6
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/apache_iotdb.egg-info/requires.txt +1 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/Session.py +199 -194
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/SessionPool.py +15 -1
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/table_session.py +9 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/table_session_pool.py +6 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/template/MeasurementNode.py +1 -1
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/template/Template.py +3 -3
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/thrift/common/ttypes.py +113 -73
- apache_iotdb-2.0.4.dev0/iotdb/thrift/confignode/IConfigNodeRPCService.py +28290 -0
- apache_iotdb-2.0.4.dev0/iotdb/thrift/confignode/__init__.py +1 -0
- apache_iotdb-2.0.4.dev0/iotdb/thrift/confignode/ttypes.py +17249 -0
- apache_iotdb-2.0.4.dev0/iotdb/thrift/datanode/IDataNodeRPCService.py +17960 -0
- apache_iotdb-2.0.4.dev0/iotdb/thrift/datanode/MPPDataExchangeService.py +1071 -0
- apache_iotdb-2.0.4.dev0/iotdb/thrift/datanode/__init__.py +1 -0
- apache_iotdb-2.0.4.dev0/iotdb/thrift/datanode/constants.py +14 -0
- apache_iotdb-2.0.4.dev0/iotdb/thrift/datanode/ttypes.py +10920 -0
- apache_iotdb-2.0.4.dev0/iotdb/thrift/rpc/constants.py +14 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/thrift/rpc/ttypes.py +13 -1
- apache_iotdb-2.0.4.dev0/iotdb/tsfile/utils/tsblock_serde.py +266 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/utils/Field.py +30 -5
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/utils/NumpyTablet.py +1 -1
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/utils/SessionDataSet.py +43 -24
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/utils/Tablet.py +1 -1
- apache_iotdb-2.0.1b0/iotdb/utils/IoTDBConnectionException.py → apache_iotdb-2.0.4.dev0/iotdb/utils/exception.py +20 -0
- apache_iotdb-2.0.4.dev0/iotdb/utils/iotdb_rpc_dataset.py +406 -0
- apache_iotdb-2.0.4.dev0/iotdb/utils/rpc_utils.py +110 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/pyproject.toml +5 -5
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/tablet_performance_comparison.py +3 -1
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_new_data_types.py +6 -6
- apache_iotdb-2.0.4.dev0/tests/integration/test_tablemodel_query.py +476 -0
- apache_iotdb-2.0.1b0/iotdb/utils/IoTDBRpcDataSet.py +0 -463
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/apache_iotdb.egg-info/dependency_links.txt +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/apache_iotdb.egg-info/entry_points.txt +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/apache_iotdb.egg-info/top_level.txt +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/dbapi/Connection.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/dbapi/Cursor.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/dbapi/Exceptions.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/dbapi/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/sqlalchemy/IoTDBDialect.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/sqlalchemy/IoTDBIdentifierPreparer.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/sqlalchemy/IoTDBSQLCompiler.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/sqlalchemy/IoTDBTypeCompiler.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/sqlalchemy/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/template/TemplateNode.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/template/TemplateQueryType.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/template/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/thrift/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/thrift/common/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/thrift/common/constants.py +0 -0
- {apache_iotdb-2.0.1b0/iotdb/thrift/rpc → apache_iotdb-2.0.4.dev0/iotdb/thrift/confignode}/constants.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/thrift/rpc/IClientRPCService.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/thrift/rpc/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/tsfile/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/tsfile/common/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/tsfile/common/constant/__init__.py +0 -0
- /apache_iotdb-2.0.1b0/iotdb/tsfile/common/constant/TsFileConstant.py → /apache_iotdb-2.0.4.dev0/iotdb/tsfile/common/constant/tsfile_constant.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/tsfile/utils/__init__.py +0 -0
- /apache_iotdb-2.0.1b0/iotdb/tsfile/utils/DateUtils.py → /apache_iotdb-2.0.4.dev0/iotdb/tsfile/utils/date_utils.py +0 -0
- /apache_iotdb-2.0.1b0/iotdb/tsfile/utils/Pair.py → /apache_iotdb-2.0.4.dev0/iotdb/tsfile/utils/pair.py +0 -0
- /apache_iotdb-2.0.1b0/iotdb/tsfile/utils/ReadWriteIOUtils.py → /apache_iotdb-2.0.4.dev0/iotdb/tsfile/utils/read_write_io_utils.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/utils/BitMap.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/utils/IoTDBConstants.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/utils/RowRecord.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/iotdb/utils/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/setup.cfg +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/dbapi/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/dbapi/test_connection.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/dbapi/test_cursor.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/iotdb_container.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/sqlalchemy/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/sqlalchemy/test_dialect.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_aligned_timeseries.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_dataframe.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_delete_data.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_one_device.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_relational_session.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_session.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_session_pool.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_tablemodel_insert.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_tablet.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_todf.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/integration/test_treemodel_insert.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/unit/__init__.py +0 -0
- {apache_iotdb-2.0.1b0 → apache_iotdb-2.0.4.dev0}/tests/unit/test_numpy_tablet.py +0 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-iotdb
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4.dev0
|
|
4
4
|
Summary: Apache IoTDB client API
|
|
5
5
|
Author-email: Apache IoTDB <dev@iotdb.apache.org>
|
|
6
|
-
License: Apache
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://iotdb.apache.org
|
|
8
8
|
Project-URL: Documentation, https://github.com/apache/iotdb
|
|
9
9
|
Keywords: iotdb,apache,client,API
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
11
|
Classifier: Operating System :: OS Independent
|
|
13
12
|
Classifier: Topic :: Software Development :: Libraries
|
|
14
13
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -19,6 +18,7 @@ Requires-Dist: pandas>=1.0.0
|
|
|
19
18
|
Requires-Dist: numpy>=1.0.0
|
|
20
19
|
Requires-Dist: sqlalchemy>=1.4
|
|
21
20
|
Requires-Dist: sqlalchemy-utils>=0.37.8
|
|
21
|
+
Requires-Dist: tzlocal>=4.0
|
|
22
22
|
|
|
23
23
|
<!--
|
|
24
24
|
|
|
@@ -95,7 +95,7 @@ session.close()
|
|
|
95
95
|
* Initialize a Session
|
|
96
96
|
|
|
97
97
|
```python
|
|
98
|
-
session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id="
|
|
98
|
+
session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id="Asia/Shanghai")
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
* Open a session, with a parameter to specify whether to enable RPC compression
|
|
@@ -397,7 +397,7 @@ ip = "127.0.0.1"
|
|
|
397
397
|
port_ = "6667"
|
|
398
398
|
username_ = "root"
|
|
399
399
|
password_ = "root"
|
|
400
|
-
conn = connect(ip, port_, username_, password_,fetch_size=1024,zone_id="
|
|
400
|
+
conn = connect(ip, port_, username_, password_,fetch_size=1024,zone_id="Asia/Shanghai",sqlalchemy_mode=False)
|
|
401
401
|
cursor = conn.cursor()
|
|
402
402
|
```
|
|
403
403
|
+ simple SQL statement execution
|
|
@@ -73,7 +73,7 @@ session.close()
|
|
|
73
73
|
* Initialize a Session
|
|
74
74
|
|
|
75
75
|
```python
|
|
76
|
-
session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id="
|
|
76
|
+
session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id="Asia/Shanghai")
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
* Open a session, with a parameter to specify whether to enable RPC compression
|
|
@@ -375,7 +375,7 @@ ip = "127.0.0.1"
|
|
|
375
375
|
port_ = "6667"
|
|
376
376
|
username_ = "root"
|
|
377
377
|
password_ = "root"
|
|
378
|
-
conn = connect(ip, port_, username_, password_,fetch_size=1024,zone_id="
|
|
378
|
+
conn = connect(ip, port_, username_, password_,fetch_size=1024,zone_id="Asia/Shanghai",sqlalchemy_mode=False)
|
|
379
379
|
cursor = conn.cursor()
|
|
380
380
|
```
|
|
381
381
|
+ simple SQL statement execution
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-iotdb
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4.dev0
|
|
4
4
|
Summary: Apache IoTDB client API
|
|
5
5
|
Author-email: Apache IoTDB <dev@iotdb.apache.org>
|
|
6
|
-
License: Apache
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://iotdb.apache.org
|
|
8
8
|
Project-URL: Documentation, https://github.com/apache/iotdb
|
|
9
9
|
Keywords: iotdb,apache,client,API
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
11
|
Classifier: Operating System :: OS Independent
|
|
13
12
|
Classifier: Topic :: Software Development :: Libraries
|
|
14
13
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -19,6 +18,7 @@ Requires-Dist: pandas>=1.0.0
|
|
|
19
18
|
Requires-Dist: numpy>=1.0.0
|
|
20
19
|
Requires-Dist: sqlalchemy>=1.4
|
|
21
20
|
Requires-Dist: sqlalchemy-utils>=0.37.8
|
|
21
|
+
Requires-Dist: tzlocal>=4.0
|
|
22
22
|
|
|
23
23
|
<!--
|
|
24
24
|
|
|
@@ -95,7 +95,7 @@ session.close()
|
|
|
95
95
|
* Initialize a Session
|
|
96
96
|
|
|
97
97
|
```python
|
|
98
|
-
session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id="
|
|
98
|
+
session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id="Asia/Shanghai")
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
* Open a session, with a parameter to specify whether to enable RPC compression
|
|
@@ -397,7 +397,7 @@ ip = "127.0.0.1"
|
|
|
397
397
|
port_ = "6667"
|
|
398
398
|
username_ = "root"
|
|
399
399
|
password_ = "root"
|
|
400
|
-
conn = connect(ip, port_, username_, password_,fetch_size=1024,zone_id="
|
|
400
|
+
conn = connect(ip, port_, username_, password_,fetch_size=1024,zone_id="Asia/Shanghai",sqlalchemy_mode=False)
|
|
401
401
|
cursor = conn.cursor()
|
|
402
402
|
```
|
|
403
403
|
+ simple SQL statement execution
|
|
@@ -29,28 +29,39 @@ iotdb/thrift/__init__.py
|
|
|
29
29
|
iotdb/thrift/common/__init__.py
|
|
30
30
|
iotdb/thrift/common/constants.py
|
|
31
31
|
iotdb/thrift/common/ttypes.py
|
|
32
|
+
iotdb/thrift/confignode/IConfigNodeRPCService.py
|
|
33
|
+
iotdb/thrift/confignode/__init__.py
|
|
34
|
+
iotdb/thrift/confignode/constants.py
|
|
35
|
+
iotdb/thrift/confignode/ttypes.py
|
|
36
|
+
iotdb/thrift/datanode/IDataNodeRPCService.py
|
|
37
|
+
iotdb/thrift/datanode/MPPDataExchangeService.py
|
|
38
|
+
iotdb/thrift/datanode/__init__.py
|
|
39
|
+
iotdb/thrift/datanode/constants.py
|
|
40
|
+
iotdb/thrift/datanode/ttypes.py
|
|
32
41
|
iotdb/thrift/rpc/IClientRPCService.py
|
|
33
42
|
iotdb/thrift/rpc/__init__.py
|
|
34
43
|
iotdb/thrift/rpc/constants.py
|
|
35
44
|
iotdb/thrift/rpc/ttypes.py
|
|
36
45
|
iotdb/tsfile/__init__.py
|
|
37
46
|
iotdb/tsfile/common/__init__.py
|
|
38
|
-
iotdb/tsfile/common/constant/TsFileConstant.py
|
|
39
47
|
iotdb/tsfile/common/constant/__init__.py
|
|
40
|
-
iotdb/tsfile/
|
|
41
|
-
iotdb/tsfile/utils/Pair.py
|
|
42
|
-
iotdb/tsfile/utils/ReadWriteIOUtils.py
|
|
48
|
+
iotdb/tsfile/common/constant/tsfile_constant.py
|
|
43
49
|
iotdb/tsfile/utils/__init__.py
|
|
50
|
+
iotdb/tsfile/utils/date_utils.py
|
|
51
|
+
iotdb/tsfile/utils/pair.py
|
|
52
|
+
iotdb/tsfile/utils/read_write_io_utils.py
|
|
53
|
+
iotdb/tsfile/utils/tsblock_serde.py
|
|
44
54
|
iotdb/utils/BitMap.py
|
|
45
55
|
iotdb/utils/Field.py
|
|
46
|
-
iotdb/utils/IoTDBConnectionException.py
|
|
47
56
|
iotdb/utils/IoTDBConstants.py
|
|
48
|
-
iotdb/utils/IoTDBRpcDataSet.py
|
|
49
57
|
iotdb/utils/NumpyTablet.py
|
|
50
58
|
iotdb/utils/RowRecord.py
|
|
51
59
|
iotdb/utils/SessionDataSet.py
|
|
52
60
|
iotdb/utils/Tablet.py
|
|
53
61
|
iotdb/utils/__init__.py
|
|
62
|
+
iotdb/utils/exception.py
|
|
63
|
+
iotdb/utils/iotdb_rpc_dataset.py
|
|
64
|
+
iotdb/utils/rpc_utils.py
|
|
54
65
|
tests/__init__.py
|
|
55
66
|
tests/integration/__init__.py
|
|
56
67
|
tests/integration/iotdb_container.py
|
|
@@ -64,6 +75,7 @@ tests/integration/test_relational_session.py
|
|
|
64
75
|
tests/integration/test_session.py
|
|
65
76
|
tests/integration/test_session_pool.py
|
|
66
77
|
tests/integration/test_tablemodel_insert.py
|
|
78
|
+
tests/integration/test_tablemodel_query.py
|
|
67
79
|
tests/integration/test_tablet.py
|
|
68
80
|
tests/integration/test_todf.py
|
|
69
81
|
tests/integration/test_treemodel_insert.py
|