sql: use optimizer for Export query #36756
Labels
A-sql-optimizer
SQL logical planning and optimizations.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Milestone
The EXPORT statement contains a select query. Currently, this is planned through the HP. We need to switch this over to the optimizer (when the optimizer supports everything the HP does).
The planning of the select query happens through
PlanHookState.Select
. The fix should be as easy as rewiring that function; the rest of the export implementation doesn't need to change.The text was updated successfully, but these errors were encountered: