hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7539) streaming windowing UDAF seems to be broken without Partition Spec
Date Sun, 10 Aug 2014 04:32:11 GMT

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

Ashutosh Chauhan updated HIVE-7539:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14.0
         Assignee: Navis  (was: Harish Butani)
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Navis!

> streaming windowing UDAF seems to be broken without Partition Spec
> ------------------------------------------------------------------
>
>                 Key: HIVE-7539
>                 URL: https://issues.apache.org/jira/browse/HIVE-7539
>             Project: Hive
>          Issue Type: Bug
>          Components: PTF-Windowing
>    Affects Versions: 0.14.0
>            Reporter: Laljo John Pullokkaran
>            Assignee: Navis
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7539.1.patch.txt
>
>
> {code:sql}
> select  avg(c_int) over(rows between 1 PRECEDING and current row) from t1
> {code}
> results in 
> {noformat}
> :1}}
> 	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:271)
> 	... 9 more
> Caused by: java.lang.NullPointerException
> 	at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage$GenericUDAFAverageEvaluatorDouble$1.getNextResult(GenericUDAFAverage.java:180)
> 	at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage$GenericUDAFAverageEvaluatorDouble$1.getNextResult(GenericUDAFAverage.java:166)
> 	at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFStreamingEvaluator$SumAvgEnhancer.iterate(GenericUDAFStreamingEvaluator.java:166)
> 	at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator.aggregate(GenericUDAFEvaluator.java:185)
> 	at org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.processRow(WindowingTableFunction.java:348)
> 	at org.apache.hadoop.hive.ql.exec.PTFOperator$PTFInvocation.processRow(PTFOperator.java:318)
> 	at org.apache.hadoop.hive.ql.exec.PTFOperator.processOp(PTFOperator.java:131)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800)
> 	at org.apache.hadoop.hive.ql.exec.ExtractOperator.processOp(ExtractOperator.java:45)
> 	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:262)
> 	... 9 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message