[
https://issues.apache.org/jira/browse/SPARK-10505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust updated SPARK-10505:
-------------------------------------
Description:
The following statement will parse/execute in Hive 0.13 but fails in SPARK.
{code}
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
{code}
was:
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
> 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.
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]