[ https://issues.apache.org/jira/browse/SPARK-17773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herman van Hovell updated SPARK-17773: -------------------------------------- Description: Executing following query fails. {noformat} select SOME_UDAF*(a.arr) from ( select Array(null) as arr from dim_one_row ) a SOME_UDAF= It's an UDAF which is similar to FIRST(), but skips the null values if it can and adds randomization. Error message: scala.MatchError: org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaVoidObjectInspector@39055e0d (of class org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaVoidObjectInspector) at org.apache.spark.sql.hive.HiveInspectors$class.wrapperFor(HiveInspectors.scala:257) at org.apache.spark.sql.hive.HiveUDAFFunction.wrapperFor(hiveUDFs.scala:269) at org.apache.spark.sql.hive.HiveInspectors$class.wrap(HiveInspectors.scala:719) {noformat} was: Executing following query fails. select SOME_UDAF*(a.arr) from ( select Array(null) as arr from dim_one_row ) a SOME_UDAF= It's an UDAF which is similar to FIRST(), but skips the null values if it can and adds randomization. Error message: scala.MatchError: org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaVoidObjectInspector@39055e0d (of class org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaVoidObjectInspector) at org.apache.spark.sql.hive.HiveInspectors$class.wrapperFor(HiveInspectors.scala:257) at org.apache.spark.sql.hive.HiveUDAFFunction.wrapperFor(hiveUDFs.scala:269) at org.apache.spark.sql.hive.HiveInspectors$class.wrap(HiveInspectors.scala:719) > HiveInspector wrapper for JavaVoidObjectInspector is missing > ------------------------------------------------------------- > > Key: SPARK-17773 > URL: https://issues.apache.org/jira/browse/SPARK-17773 > Project: Spark > Issue Type: Bug > Components: Input/Output > Affects Versions: 2.0.0 > Reporter: Ergin Seyfe > Priority: Minor > > Executing following query fails. > {noformat} > select SOME_UDAF*(a.arr) > from ( > select Array(null) as arr from dim_one_row > ) a > SOME_UDAF= It's an UDAF which is similar to FIRST(), but skips the null > values if it can and adds randomization. > Error message: > scala.MatchError: > org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaVoidObjectInspector@39055e0d > (of class > org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaVoidObjectInspector) > at > org.apache.spark.sql.hive.HiveInspectors$class.wrapperFor(HiveInspectors.scala:257) > at org.apache.spark.sql.hive.HiveUDAFFunction.wrapperFor(hiveUDFs.scala:269) > at > org.apache.spark.sql.hive.HiveInspectors$class.wrap(HiveInspectors.scala:719) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org