From a64e6882059797ae73c16c8b6f9b23301c9fc512 Mon Sep 17 00:00:00 2001 From: dingbo Date: Wed, 31 Aug 2022 13:10:19 +0800 Subject: [PATCH] test: update python example --- docs/examples/python/develop_tutorial.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/examples/python/develop_tutorial.py b/docs/examples/python/develop_tutorial.py index 917e91a312..fad6dfca16 100644 --- a/docs/examples/python/develop_tutorial.py +++ b/docs/examples/python/develop_tutorial.py @@ -17,8 +17,6 @@ print("server version:", conn.server_info) # ANCHOR: insert # create super table conn.execute("CREATE STABLE power.meters (ts TIMESTAMP, current FLOAT, voltage INT, phase FLOAT) TAGS (location BINARY(64), groupId INT)") -print("affected_row", affected_row) # 0 - # insert multiple rows into multiple tables at once. subtables will be created automatically. affected_row = conn.execute("""INSERT INTO power.d1001 USING power.meters TAGS(California.SanFrancisco, 2) VALUES ('2018-10-03 14:38:05.000', 10.30000, 219, 0.31000) ('2018-10-03 14:38:15.000', 12.60000, 218, 0.33000) ('2018-10-03 14:38:16.800', 12.30000, 221, 0.31000) power.d1002 USING power.meters TAGS(California.SanFrancisco, 3) VALUES ('2018-10-03 14:38:16.650', 10.30000, 218, 0.25000) -- GitLab