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

Pengcheng Xiong commented on HIVE-13773:
----------------------------------------

[~ashutoshc], what i have observed is this. In the q file that I attached, 
there is an insert into. It reads from a table and then insert into a partition 
table. There are two configurations, hive.optimize.sort.dynamic.partition and 
also ACID. If we turn on only one of them, the stats of insert into works as we 
expected. However, if we turn on both of them, the stats of insert into got 
screwed up. Note that, the data is reading correctly. I suspect that HIVE-6455 
introduced prevFsp and it may be wrongly configured when ACID is on. The remove 
of the related code makes the stats of insert into work. But I need the 
original author [~prasanth_j] to confirm. Thanks.

> Stats state is not captured correctly in dynpart_sort_optimization_acid.q
> -------------------------------------------------------------------------
>
>                 Key: HIVE-13773
>                 URL: https://issues.apache.org/jira/browse/HIVE-13773
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-13773.01.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to