You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2015/09/09 05:22:46 UTC

[jira] [Created] (SPARK-10505) windowed form of count ( star ) fails with No handler for udf class

N Campbell created SPARK-10505:
----------------------------------

             Summary: windowed form of count ( star ) fails with No handler for udf class
                 Key: SPARK-10505
                 URL: https://issues.apache.org/jira/browse/SPARK-10505
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.3.1
            Reporter: N Campbell


The following statement will parse/execute in Hive 0.13 but fails in SPARK. 

create a simple ORC table in Hive 
create table  if not exists TOLAP (RNUM int , C1 string, C2 string, C3 int, C4 int) TERMINATED BY '\n' 
 STORED AS orc ;

select rnum, c1, c2, c3, count(*) over(partition by c1) from tolap

Error: java.lang.RuntimeException: No handler for udf class org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCount
SQLState:  null
ErrorCode: 0



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