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

Fix Analysis Exceptions when Using Backticks in Generate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • SQL
    • None

    Description

      Analysis exception occurs while running the following query.

      SELECT ints FROM nestedArray LATERAL VIEW explode(a.b) `a` AS `ints`
      
      Failed to analyze query: org.apache.spark.sql.AnalysisException: cannot resolve '`ints`' given input columns: [a, `ints`]; line 1 pos 7
      'Project ['ints]
      +- Generate explode(a#0.b), true, false, Some(a), [`ints`#8]
         +- SubqueryAlias nestedarray
            +- LocalRelation [a#0], [[[[1,2,3]]]]
      

      Attachments

        Issue Links

          Activity

            People

              dkbiswal Dilip Biswal
              dkbiswal Dilip Biswal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: