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

Deepak Jaiswal commented on HIVE-20540:
---------------------------------------

They both are set separately. Hence individual flags.

 

setRowNum(), setBucketNum() setBucketNum() may result in wrong results.

> Vectorization : Support loading bucketed tables using sorted dynamic 
> partition optimizer - II
> ---------------------------------------------------------------------------------------------
>
>                 Key: HIVE-20540
>                 URL: https://issues.apache.org/jira/browse/HIVE-20540
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Deepak Jaiswal
>            Assignee: Deepak Jaiswal
>            Priority: Major
>         Attachments: HIVE-20540.1.patch, HIVE-20540.2.patch, 
> HIVE-20540.3.patch
>
>
> Followup to HIVE-20510 with remaining issues,
>  
> 1. Avoid using Reflection.
> 2. In VectorizationContext, use correct place to setup the VectorExpression. 
> It may be missed in certain cases.
> 3. In BucketNumExpression, make sure that a value is not overwritten before 
> it is processed. Use a flag to achieve this.
> cc [~gopalv]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to