spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-17773) HiveInspector wrapper for JavaVoidObjectInspector is missing
Date Tue, 04 Oct 2016 06:28:20 GMT

     [ https://issues.apache.org/jira/browse/SPARK-17773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reynold Xin resolved SPARK-17773.
---------------------------------
       Resolution: Fixed
         Assignee: Ergin Seyfe
    Fix Version/s: 2.1.0
                   2.0.2

> 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
>            Assignee: Ergin Seyfe
>            Priority: Minor
>             Fix For: 2.0.2, 2.1.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message