未验证 提交 b5b4f5db 编写于 作者: D dapan1121 提交者: GitHub

Merge pull request #20801 from taosdata/test/TD-AUTOGETN-3.0

test: change random to fixed
......@@ -51,10 +51,7 @@ class AutoGen:
metas = []
for i in range(cnt):
colname = f"{pre}{i}"
if i < len(types):
sel = i
else:
sel = random.randint(0, len(types)-1)
sel = len(types) % len(types)
coltype = types[sel]
sql = f"{colname} {coltype}"
if sqls != "":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册