diff --git a/tests/pytest/util/autogen.py b/tests/pytest/util/autogen.py index b85348d0ba..90cd347b9a 100644 --- a/tests/pytest/util/autogen.py +++ b/tests/pytest/util/autogen.py @@ -51,7 +51,7 @@ class AutoGen: metas = [] for i in range(cnt): colname = f"{pre}{i}" - sel = len(types) % len(types) + sel = i % len(types) coltype = types[sel] sql = f"{colname} {coltype}" if sqls != "":