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
- blocks
-
SPARK-12719 SQL generation support for generators (including UDTF)
- Resolved
- links to