We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eae530e + a73f5de commit 4dee3bcCopy full SHA for 4dee3bc
pkg/sql/opt/testutils/opttester/reorder_joins.go
@@ -33,6 +33,9 @@ import (
33
func (ot *OptTester) ReorderJoins() (string, error) {
34
ot.builder.Reset()
35
o := ot.makeOptimizer()
36
+ o.NotifyOnMatchedRule(func(ruleName opt.RuleName) bool {
37
+ return !ot.Flags.DisableRules.Contains(int(ruleName))
38
+ })
39
jof := newJoinOrderFormatter(o)
40
41
// joinsConsidered counts the number of joins which joinOrderBuilder attempts
0 commit comments