Description
There are already options to disable certain planner rules in the RecordQueryPlanConfiguration
. However, that is not currently exposed through the Relational (JDBC) interface. We should add some Option
s to the query/connection that allow that to happen.
While we are there, we should make it easy to disable the new plan rewrite rules that are going in (see #3401). Those rules fundamentally shift the way that more complicated queries get planned, and they could have significant performance implications. Therefore, it would be good to expose a way to disable all of those new rules at once.