You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2023/07/25 13:55:00 UTC

[jira] [Assigned] (SPARK-44355) Move commands to CTEDef code path and deprecate CTE inline path

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

Wenchen Fan reassigned SPARK-44355:
-----------------------------------

    Assignee: Wenchen Fan

> 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
>            Assignee: Wenchen Fan
>            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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org