Fix using external table in a subplan.
ParallelizeCorrelatedSubPlanMutator() turns each Scan on a base relation into a "Result - Material - Broadcast - Scan" pattern, but it missed ExternalScans. External tables are supposed to be treated as distributed, i.e. each segment holds different part of the external table, so they need to be treated like regular tables.
Showing
想要评论请 注册 或 登录