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

wan kun commented on HIVE-15944:
--------------------------------

[~ashutoshc]
I have add a test case with_column_pruner.q ~
For the test case,STAGE DEPENDENCIES is my local test output which is error:
outputColumnNames: _col0, _col1, _col10, _col11, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9
While in the patch output is right : _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11

> The order of cols is error in ColumnPrunerReduceSinkProc because of sort 
> operator
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-15944
>                 URL: https://issues.apache.org/jira/browse/HIVE-15944
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 1.1.0, 2.2.0
>            Reporter: wan kun
>            Assignee: wan kun
>             Fix For: 2.2.0
>
>         Attachments: HIVE-15944.1.patch, HIVE-15944-branch-1.1.patch, 
> HIVE-15944.patch, STAGE_DEPENDENCIES
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> If one sql have two job.
> job 1:The order of cols is updated in ColumnPrunerReduceSinkProc because of 
> sort operator.
> job 2 will read error in map operation because the cols order is old.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to