未验证 提交 a39f80ba 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #19866 from taosdata/case/TD-22241

test: add case double comma check in insert_drop.py
...@@ -31,6 +31,10 @@ class TDTestCase: ...@@ -31,6 +31,10 @@ class TDTestCase:
tdSql.execute('create database if not exists test;') tdSql.execute('create database if not exists test;')
tdSql.execute('create table test.stb (ts timestamp, c11 int, c12 float ) TAGS(t11 int, t12 int );') tdSql.execute('create table test.stb (ts timestamp, c11 int, c12 float ) TAGS(t11 int, t12 int );')
tdSql.execute('create table test.tb using test.stb TAGS (1, 1);') tdSql.execute('create table test.tb using test.stb TAGS (1, 1);')
# double comma insert check error
tdSql.error("insert into test.tb(ts, c11) values(now,,100)")
sql_list = list() sql_list = list()
for i in range(5): for i in range(5):
sql = f'insert into test.tb values (now-{i}m, {i}, {i});' sql = f'insert into test.tb values (now-{i}m, {i}, {i});'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册