hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laljo John Pullokkaran (JIRA)" <>
Subject [jira] [Created] (HIVE-7539) streaming windowing UDAF seems to be broken without Partition Spec
Date Tue, 29 Jul 2014 02:04:38 GMT
Laljo John Pullokkaran created HIVE-7539:

             Summary: streaming windowing UDAF seems to be broken without Partition Spec
                 Key: HIVE-7539
             Project: Hive
          Issue Type: Bug
            Reporter: Laljo John Pullokkaran
            Assignee: Harish Butani

select  avg(c_int) over(rows between 1 PRECEDING and current row) from t1; results in 

	... 9 more
Caused by: java.lang.NullPointerException
	at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage$GenericUDAFAverageEvaluatorDouble$1.getNextResult(
	at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage$GenericUDAFAverageEvaluatorDouble$1.getNextResult(
	at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFStreamingEvaluator$SumAvgEnhancer.iterate(
	at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator.aggregate(
	at org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.processRow(
	at org.apache.hadoop.hive.ql.exec.PTFOperator$PTFInvocation.processRow(
	at org.apache.hadoop.hive.ql.exec.PTFOperator.processOp(
	at org.apache.hadoop.hive.ql.exec.Operator.forward(
	at org.apache.hadoop.hive.ql.exec.ExtractOperator.processOp(
	... 9 more

This message was sent by Atlassian JIRA

View raw message