[ 
https://issues.apache.org/jira/browse/SPARK-44355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan resolved SPARK-44355.
---------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 42036
[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
>             Fix For: 4.0.0
>
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to