This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch HTHou-patch-1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/HTHou-patch-1 by this push:
new 93281733f5b Update table_model_session_pool_example.py
93281733f5b is described below
commit 93281733f5bf9ce19a5eadf7d15d52025bef5e79
Author: Haonan <[email protected]>
AuthorDate: Tue Jan 7 10:30:33 2025 +0800
Update table_model_session_pool_example.py
---
iotdb-client/client-py/table_model_session_pool_example.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/iotdb-client/client-py/table_model_session_pool_example.py
b/iotdb-client/client-py/table_model_session_pool_example.py
index 156ba8a450d..bd190a8b473 100644
--- a/iotdb-client/client-py/table_model_session_pool_example.py
+++ b/iotdb-client/client-py/table_model_session_pool_example.py
@@ -32,14 +32,14 @@ def prepare_data():
session.execute_non_query_statement("CREATE DATABASE IF NOT EXISTS db1")
session.execute_non_query_statement('USE "db1"')
session.execute_non_query_statement(
- "CREATE TABLE table0 (id1 string id, attr1 string attribute, "
+ "CREATE TABLE table0 (id1 string tag, attr1 string attribute, "
+ "m1 double "
- + "measurement)"
+ + "field)"
)
session.execute_non_query_statement(
- "CREATE TABLE table1 (id1 string id, attr1 string attribute, "
+ "CREATE TABLE table1 (id1 string tag, attr1 string attribute, "
+ "m1 double "
- + "measurement)"
+ + "field)"
)
print("now the tables are:")