Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38318

regression when replacing a dataset view

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0, 3.2.1, 3.3.0
    • 3.3.0, 3.2.2
    • SQL
    • None

    Description

      The below use case works well in 3.1 but failed in 3.2 and master.

      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)"

      Attachments

        Issue Links

          Activity

            People

              linhongliu-db Linhong Liu
              linhongliu-db Linhong Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: