-
- Downloads
[SPARK-14578] [SQL] Fix codegen for CreateExternalRow with nested wide schema
## What changes were proposed in this pull request? The wide schema, the expression of fields will be splitted into multiple functions, but the variable for loopVar can't be accessed in splitted functions, this PR change them as class member. ## How was this patch tested? Added regression test. Author: Davies Liu <davies@databricks.com> Closes #12338 from davies/nested_row.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects.scala 5 additions, 3 deletions...a/org/apache/spark/sql/catalyst/expressions/objects.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json/JsonSuite.scala 15 additions, 0 deletions...ache/spark/sql/execution/datasources/json/JsonSuite.scala
Please register or sign in to comment