apache-iotdb 1.1.2__tar.gz → 1.2.1__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-1.1.2 → apache-iotdb-1.2.1}/PKG-INFO +1 -2
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/apache_iotdb.egg-info/PKG-INFO +1 -2
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/apache_iotdb.egg-info/SOURCES.txt +1 -6
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/apache_iotdb.egg-info/requires.txt +2 -2
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/IoTDBContainer.py +11 -0
- apache-iotdb-1.2.1/iotdb/Session.py +2214 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/SessionPool.py +19 -6
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/sqlalchemy/IoTDBSQLCompiler.py +133 -52
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/thrift/common/ttypes.py +460 -18
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/thrift/rpc/IClientRPCService.py +576 -12
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/thrift/rpc/ttypes.py +717 -190
- apache-iotdb-1.2.1/iotdb/utils/IoTDBConnectionException.py +29 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/IoTDBConstants.py +3 -1
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/IoTDBRpcDataSet.py +23 -22
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/NumpyTablet.py +7 -2
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/Tablet.py +4 -1
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/setup.py +3 -3
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/tablet_performance_comparison.py +2 -2
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_aligned_timeseries.py +8 -12
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_dataframe.py +7 -3
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_delete_data.py +6 -2
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_numpy_tablet.py +6 -1
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_session.py +10 -6
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_session_pool.py +37 -4
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_template.py +9 -3
- apache-iotdb-1.1.2/LICENSE +0 -289
- apache-iotdb-1.1.2/iotdb/Session.py +0 -1470
- apache-iotdb-1.1.2/iotdb/thrift/datanode/IDataNodeRPCService.py +0 -11409
- apache-iotdb-1.1.2/iotdb/thrift/datanode/MPPDataExchangeService.py +0 -905
- apache-iotdb-1.1.2/iotdb/thrift/datanode/__init__.py +0 -1
- apache-iotdb-1.1.2/iotdb/thrift/datanode/ttypes.py +0 -6512
- apache-iotdb-1.1.2/iotdb/thrift/rpc/constants.py +0 -14
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/README.md +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/apache_iotdb.egg-info/dependency_links.txt +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/apache_iotdb.egg-info/entry_points.txt +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/apache_iotdb.egg-info/top_level.txt +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/dbapi/Connection.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/dbapi/Cursor.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/dbapi/Exceptions.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/dbapi/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/dbapi/tests/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/dbapi/tests/test_connection.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/dbapi/tests/test_cursor.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/sqlalchemy/IoTDBDialect.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/sqlalchemy/IoTDBIdentifierPreparer.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/sqlalchemy/IoTDBTypeCompiler.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/sqlalchemy/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/sqlalchemy/tests/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/sqlalchemy/tests/test_dialect.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/template/InternalNode.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/template/MeasurementNode.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/template/Template.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/template/TemplateNode.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/template/TemplateQueryType.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/template/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/thrift/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/thrift/common/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/thrift/common/constants.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/thrift/rpc/__init__.py +0 -0
- {apache-iotdb-1.1.2/iotdb/thrift/datanode → apache-iotdb-1.2.1/iotdb/thrift/rpc}/constants.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/tsfile/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/tsfile/common/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/tsfile/common/constant/TsFileConstant.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/tsfile/common/constant/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/tsfile/utils/Pair.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/tsfile/utils/ReadWriteIOUtils.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/tsfile/utils/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/BitMap.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/Field.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/RowRecord.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/SessionDataSet.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/iotdb/utils/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/pyproject.toml +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/setup.cfg +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/__init__.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_one_device.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_tablet.py +0 -0
- {apache-iotdb-1.1.2 → apache-iotdb-1.2.1}/tests/test_todf.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-iotdb
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Apache IoTDB client API
|
|
5
5
|
Home-page: https://github.com/apache/iotdb
|
|
6
6
|
Author: Apache Software Foundation
|
|
@@ -13,7 +13,6 @@ 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
|
-
License-File: LICENSE
|
|
17
16
|
|
|
18
17
|
<!--
|
|
19
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-iotdb
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Apache IoTDB client API
|
|
5
5
|
Home-page: https://github.com/apache/iotdb
|
|
6
6
|
Author: Apache Software Foundation
|
|
@@ -13,7 +13,6 @@ 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
|
-
License-File: LICENSE
|
|
17
16
|
|
|
18
17
|
<!--
|
|
19
18
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
LICENSE
|
|
2
1
|
README.md
|
|
3
2
|
pyproject.toml
|
|
4
3
|
setup.py
|
|
@@ -36,11 +35,6 @@ iotdb/thrift/__init__.py
|
|
|
36
35
|
iotdb/thrift/common/__init__.py
|
|
37
36
|
iotdb/thrift/common/constants.py
|
|
38
37
|
iotdb/thrift/common/ttypes.py
|
|
39
|
-
iotdb/thrift/datanode/IDataNodeRPCService.py
|
|
40
|
-
iotdb/thrift/datanode/MPPDataExchangeService.py
|
|
41
|
-
iotdb/thrift/datanode/__init__.py
|
|
42
|
-
iotdb/thrift/datanode/constants.py
|
|
43
|
-
iotdb/thrift/datanode/ttypes.py
|
|
44
38
|
iotdb/thrift/rpc/IClientRPCService.py
|
|
45
39
|
iotdb/thrift/rpc/__init__.py
|
|
46
40
|
iotdb/thrift/rpc/constants.py
|
|
@@ -54,6 +48,7 @@ iotdb/tsfile/utils/ReadWriteIOUtils.py
|
|
|
54
48
|
iotdb/tsfile/utils/__init__.py
|
|
55
49
|
iotdb/utils/BitMap.py
|
|
56
50
|
iotdb/utils/Field.py
|
|
51
|
+
iotdb/utils/IoTDBConnectionException.py
|
|
57
52
|
iotdb/utils/IoTDBConstants.py
|
|
58
53
|
iotdb/utils/IoTDBRpcDataSet.py
|
|
59
54
|
iotdb/utils/NumpyTablet.py
|
|
@@ -16,13 +16,17 @@
|
|
|
16
16
|
# under the License.
|
|
17
17
|
#
|
|
18
18
|
|
|
19
|
+
import time
|
|
19
20
|
from os import environ
|
|
20
21
|
|
|
21
22
|
from testcontainers.core.container import DockerContainer
|
|
23
|
+
from testcontainers.core.utils import setup_logger
|
|
22
24
|
from testcontainers.core.waiting_utils import wait_container_is_ready
|
|
23
25
|
|
|
24
26
|
from iotdb.Session import Session
|
|
25
27
|
|
|
28
|
+
logger = setup_logger(__name__)
|
|
29
|
+
|
|
26
30
|
|
|
27
31
|
class IoTDBContainer(DockerContainer):
|
|
28
32
|
IOTDB_USER = environ.get("IOTDB_USER", "root")
|
|
@@ -48,4 +52,11 @@ class IoTDBContainer(DockerContainer):
|
|
|
48
52
|
self._configure()
|
|
49
53
|
super().start()
|
|
50
54
|
self._connect()
|
|
55
|
+
# sleep 2s to make sure the confignode cached the datanode info
|
|
56
|
+
time.sleep(2)
|
|
57
|
+
return self
|
|
58
|
+
|
|
59
|
+
def stop(self, force=True, delete_volume=True):
|
|
60
|
+
logger.info(self.get_wrapped_container().logs().decode("utf-8"))
|
|
61
|
+
super().stop(force, delete_volume)
|
|
51
62
|
return self
|