[ 
https://issues.apache.org/jira/browse/IMPALA-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097926#comment-18097926
 ] 

Michael Smith edited comment on IMPALA-13454 at 7/21/26 5:46 PM:
-----------------------------------------------------------------

Follow-up ideas:
 * Limit how many Cells CTEProducers push on LocalExchanger.
 * Add support for runtime filters pushing to CTEConsumer.
 * Limiting CTEs based on expected result size.
 * Spilling in the LocalExchanger for disparate consumers.


was (Author: JIRAUSER288956):
Follow-up ideas:
 * Limit how many Cells CTEProducers push on LocalExchanger.
 * Add support for runtime filters pushing to CTEConsumer.
 * Limiting CTEs based on expected result size.
 * Spilling in the LocalExchanger.

> Support CTE Materialization in Calcite Planner
> ----------------------------------------------
>
>                 Key: IMPALA-13454
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13454
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: weihua zhang
>            Assignee: Michael Smith
>            Priority: Major
>
> Implement support for processing Common Table Expressions identified by the 
> Calcite planner integrated in Impala.
> Requirements:
> * Must be able to spill to disk to minimize memory use.
> * Must be able to disable CTEs for a specific query or all queries.
> * Non-goal: CTEs do not need to be usable across multiple queries.
> [Optimization of Common Table Expressions in MPP Database 
> Systems|https://www.vldb.org/pvldb/vol8/p1704-elhelw.pdf] presents a model 
> for describing CTEs in planning.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to