Closed greenlion closed 2 years ago
of course STRAIGHT_JOIN hint fixes the problem, but that should not be necessary
Not able to reproduce right now. Will try to create a repeatable test case.
Not able to repeat and parallel query uses STRAIGHT_JOIN to order tables.
Need to modify the rewriter plugin to further work around upstream optimizer issues because parallel query no longer uses the rewriter so the STRAIGHT_JOIN fix is lost for now.
The current fix is to use warp_adjust_table_stats_for_joins which defaults to true
SSB is choosing to go from dimensions -> fact instead of fact->dimension Q1.1 is 20 seconds but should be <1