-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The default diff does not provide complete context on a plan stability test failure. Instead, the golden test must run with the `GOLDEN_TEST_CONFIG_PATH` variable pointing to a file that contains something like:
diffCmd: 'git -c diff.plan_stability.xfuncname=">>>" diff --unified=0 --function-context --no-index "{{expected}}" "{{actual}}"'
This means that a diff fragment will contain all lines starting from the preceding `>>>`, that is, it will contain the failing query and its ID , as well as the entire query plan for that query.