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

Alexander Pivovarov commented on HIVE-10717:
--------------------------------------------

Let look at encryption_insert_partition_static.q lines 39-42
{code}
from src
insert into table encryptedTable partition
    (ds='yesterday')
    select * limit 2;
{code}
"select * from src limit 2" might return two different rows with different data 
size on different computers and different environments.

To make select result consistent and repeatable we need to select two rows with 
particular keys. e.g.
{code}
insert into table encryptedTable partition (ds='yesterday')
select * from src where key between 1 and 2;
{code}


> Fix failed qtest encryption_insert_partition_static test in Jenkin
> ------------------------------------------------------------------
>
>                 Key: HIVE-10717
>                 URL: https://issues.apache.org/jira/browse/HIVE-10717
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Ferdinand Xu
>
> It can be reproduced in Jenkins. See 
> http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3898/testReport/
>  



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

Reply via email to