You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/02/27 09:57:13 UTC

[jira] [Commented] (HIVE-4085) Incorrectly pruning columns for PTFOperator

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

Ashutosh Chauhan commented on HIVE-4085:
----------------------------------------

After HIVE-4035, it is failing with following stack-trace
{code}
Caused by: java.lang.RuntimeException: Reduce operator initialization failed
	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:160)
	... 14 more
Caused by: java.lang.RuntimeException: cannot find field _col2 from [0:_col3, 1:_col7]
	at org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.getStandardStructFieldRef(ObjectInspectorUtils.java:366)
	at org.apache.hadoop.hive.serde2.objectinspector.StandardStructObjectInspector.getStructFieldRef(StandardStructObjectInspector.java:143)
	at org.apache.hadoop.hive.ql.exec.ExprNodeColumnEvaluator.initialize(ExprNodeColumnEvaluator.java:57)
	at org.apache.hadoop.hive.ql.exec.PTFOperator.setupKeysWrapper(PTFOperator.java:193)
	at org.apache.hadoop.hive.ql.exec.PTFOperator.initializeOp(PTFOperator.java:100)
	at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:377)
	at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:481)
	at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:409)
	at org.apache.hadoop.hive.ql.exec.ExtractOperator.initializeOp(ExtractOperator.java:40)
	at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:377)
	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:152)
	... 14 more
{code}
Prajakta / Harish,
Do you guys already know about this failure?
                
> Incorrectly pruning columns for PTFOperator
> -------------------------------------------
>
>                 Key: HIVE-4085
>                 URL: https://issues.apache.org/jira/browse/HIVE-4085
>             Project: Hive
>          Issue Type: Bug
>          Components: PTF-Windowing
>            Reporter: Ashutosh Chauhan
>
> Following simple query used to work before HIVE-4035
> {code}
> select s, sum(b) over (distribute by i sort by si rows between  unbounded preceding and current row) from over100k;
> {code}
> but now it fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira