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 2022/03/01 07:12:00 UTC

[jira] [Resolved] (SPARK-38318) regression when replacing a dataset view

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

Wenchen Fan resolved SPARK-38318.
---------------------------------
    Fix Version/s: 3.3.0
                   3.2.2
       Resolution: Fixed

Issue resolved by pull request 35653
[https://github.com/apache/spark/pull/35653]

> regression when replacing a dataset view
> ----------------------------------------
>
>                 Key: SPARK-38318
>                 URL: https://issues.apache.org/jira/browse/SPARK-38318
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.2.0, 3.2.1, 3.3.0
>            Reporter: Linhong Liu
>            Assignee: Linhong Liu
>            Priority: Major
>             Fix For: 3.3.0, 3.2.2
>
>
> The below use case works well in 3.1 but failed in 3.2 and master.
> {code:java}
> sql("select 1").createOrReplaceTempView("v")
> sql("select * from v").createOrReplaceTempView("v")
> // in 3.1 it works well, and select will output 1
> // in 3.2 it failed with error: "AnalysisException: Recursive view v detected (cycle: v -> v)"{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org