Skip to content

Optimize table function source#16010

Merged
kasiafi merged 2 commits intotrinodb:masterfrom
kasiafi:452TFRewriteEarly
Feb 9, 2023
Merged

Optimize table function source#16010
kasiafi merged 2 commits intotrinodb:masterfrom
kasiafi:452TFRewriteEarly

Conversation

@kasiafi
Copy link
Copy Markdown
Member

@kasiafi kasiafi commented Feb 7, 2023

This is an optimization. Currently it has no impact on users because table functions with table arguments are not yet supported.
We should add release notes only if this goes in after #15575

@cla-bot cla-bot bot added the cla-signed label Feb 7, 2023
Do the rewrite from TableFunctionNode to TableFunctionProcessorNode
earlier so that node pruning rules can be applied.

Also, change the pushdown rule for table functions
(RewriteTableFunctionToTableScan) to take the rewritten node.
This is a step towards removing dependencies between optimizer rules.
@kasiafi kasiafi merged commit a9b2220 into trinodb:master Feb 9, 2023
@github-actions github-actions bot added this to the 407 milestone Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants