opt: forbid USING HASH in optimizer tests #99129
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
E-quick-win
Likely to be a quick win for someone experienced.
T-sql-queries
SQL Queries Team
Tests added in #86622 query a table with indexes that are supposed to be hash-sharded (they use the
USING HASH
syntactic sugar):cockroach/pkg/sql/opt/xform/testdata/rules/join
Line 12879 in 554b1dd
The test catalog ignores this syntax, so the tests are not testing what they are supposed to be testing. We should:
USING HASH
syntactic sugar.USING HASH
syntactic sugar so that we don't make this same mistake in the future.Jira issue: CRDB-25714
The text was updated successfully, but these errors were encountered: