spark-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/SPARK-17773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15546003#comment-15546003
] 

Apache Spark commented on SPARK-17773:
--------------------------------------

User 'seyfe' has created a pull request for this issue:
https://github.com/apache/spark/pull/15345

> 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.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