From 99d3d1350ab51c2fbcf963a1030a7099f40923bc Mon Sep 17 00:00:00 2001 From: Yahor Yuzefovich Date: Wed, 6 May 2020 12:59:45 -0700 Subject: [PATCH] smithcmp: rename auto to 201auto in tpch config files This commit also removes `auto` option from `tpchvec_smithcmp.toml` config file because that option has different names in 20.2 and 20.1, and we run the test on both. The alternative is to introduce a separate config file, but I don't think `auto` option gives us much more test coverage than already present `off` and `on` do. Release note: None --- pkg/cmd/roachtest/tpchvec_smithcmp.toml | 7 ------- pkg/cmd/smithcmp/tpch.toml | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/pkg/cmd/roachtest/tpchvec_smithcmp.toml b/pkg/cmd/roachtest/tpchvec_smithcmp.toml index 7e464f36a6c7..951103a22d53 100644 --- a/pkg/cmd/roachtest/tpchvec_smithcmp.toml +++ b/pkg/cmd/roachtest/tpchvec_smithcmp.toml @@ -511,13 +511,6 @@ initsql = """ set vectorize=off; """ -[databases.vec-auto] -addr = "postgresql://root@localhost:26257/tpch?sslmode=disable" -allowmutations = true -initsql = """ -set vectorize=auto; -""" - [databases.vec-on] addr = "postgresql://root@localhost:26257/tpch?sslmode=disable" allowmutations = true diff --git a/pkg/cmd/smithcmp/tpch.toml b/pkg/cmd/smithcmp/tpch.toml index 1ed9e99084c3..c623c49249b0 100644 --- a/pkg/cmd/smithcmp/tpch.toml +++ b/pkg/cmd/smithcmp/tpch.toml @@ -513,11 +513,11 @@ initsql = """ set vectorize=off; """ -[databases.vec-auto] +[databases.vec-201auto] addr = "postgresql://root@localhost:26257/tpch?sslmode=disable" allowmutations = true initsql = """ -set vectorize=auto; +set vectorize=201auto; """ [databases.vec-on]