Commit 9c8351f
committed
Add TPC-DS Query 04 test case to verify CTE sharing bug.
This adds the complex TPC-DS Query 04 as a test case to verify a bug
that caused crashes when gp_cte_sharing=on in the planner.
The issue was difficult to reproduce with simpler queries, requiring
the full complexity of TPC-DS Query 04 to properly manifest. The crash
occurred during planning when CTE sharing was enabled.
Adding this test will help prevent regression of this specific planner
issue. While not a minimal reproduction case, the full query is
necessary to reliably trigger the problematic behavior.
Authored-by: Zhang Mingli [email protected]1 parent 9eeac0b commit 9c8351f
File tree
4 files changed
+16712
-0
lines changed- src/test/regress
- expected
- sql
4 files changed
+16712
-0
lines changed
0 commit comments