[
https://issues.apache.org/jira/browse/SPARK-44355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17745867#comment-17745867
]
Snoot.io commented on SPARK-44355:
----------------------------------
User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/42036
> Move commands to CTEDef code path and deprecate CTE inline path
> ---------------------------------------------------------------
>
> Key: SPARK-44355
> URL: https://issues.apache.org/jira/browse/SPARK-44355
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.5.0
> Reporter: Max Gekk
> Priority: Major
>
> Right now our CTE resolution code path is diverged: query with commands go
> into CTE inline code path where non-command queries go into CTEDef code path
> (see
> https://github.com/apache/spark/blob/42719d9425b9a24ef016b5c2874e522b960cf114/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CTESubstitution.scala#L50
> ).
> For longer term we should migrate command queries go through CTEDef as well
> and deprecate the CTE inline path.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]