[ https://issues.apache.org/jira/browse/SPARK-48273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan reassigned SPARK-48273: ----------------------------------- Assignee: Nikola Mandic > Late rewrite of PlanWithUnresolvedIdentifier > -------------------------------------------- > > Key: SPARK-48273 > URL: https://issues.apache.org/jira/browse/SPARK-48273 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 4.0.0 > Reporter: Nikola Mandic > Assignee: Nikola Mandic > Priority: Major > Labels: pull-request-available > > PlanWithUnresolvedIdentifier is rewritten later in analysis which causes > rules likeĀ > SubstituteUnresolvedOrdinals to miss the new plan. This causes following > queries to fail: > {code:java} > create temporary view identifier('v1') as (select my_col from (values (1), > (2), (1) as (my_col)) group by 1); > -- > cache table identifier('t1') as (select my_col from (values (1), (2), (1) as > (my_col)) group by 1); > -- > create table identifier('t2') as (select my_col from (values (1), (2), (1) > as (my_col)) group by 1); > insert into identifier('t2') select my_col from (values (3) as (my_col)) > group by 1; {code} -- 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