-
- Downloads
[SPARK-17773] Input/Output] Add VoidObjectInspector
## What changes were proposed in this pull request? Added VoidObjectInspector to the list of PrimitiveObjectInspectors ## How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) Executing following query was failing. select SOME_UDAF*(a.arr) from ( select Array(null) as arr from dim_one_row ) a After the fix, I am getting the correct output: res0: Array[org.apache.spark.sql.Row] = Array([null]) Author: Ergin Seyfe <eseyfe@fb.com> Closes #15337 from seyfe/add_void_object_inspector.
Showing
- sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveInspectors.scala 2 additions, 0 deletions...main/scala/org/apache/spark/sql/hive/HiveInspectors.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveInspectorSuite.scala 1 addition, 0 deletions.../scala/org/apache/spark/sql/hive/HiveInspectorSuite.scala
Loading
Please register or sign in to comment