Skip to content
Discussion options

You must be logged in to vote

Thanks for the very thorough report, @Alena0704. Your code reading matches what is on main today, and the conclusion is right: this is a missing capability in ORCA, not a cost-model decision.

Current state

  • PR #1398 deliberately scoped intra-segment parallelism to plain CLogicalGet. CLogicalDynamicGet::PxfsCandidates() still only offers ExfDynamicGet2DynamicTableScan and ExfExpandDynamicGetWithForeignPartitions, so ORCA never generates a parallel alternative for a partitioned table. ExtractParallelWorkersFromDXL() returning 1 for EdxlopPhysicalDynamicTableScan is consistent with that, not a separate bug.
  • The fallback you observed with optimizer_enable_dynamictablescan=off is expected. Wit…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Alena0704
Comment options

Alena0704 Oct 14, 2026
Collaborator Author

Answer selected by yjhjstz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: Enhancement New feature or request, ideas
2 participants