hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21862) ORC ppd produces wrong result with timestamp
Date Wed, 12 Jun 2019 12:34:00 GMT

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

Hive QA commented on HIVE-21862:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12971498/HIVE-21862.1.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 16051 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[orc_ppd_timestamp] (batchId=182)
org.apache.hadoop.hive.llap.cache.TestBuddyAllocator.testMTT[2] (batchId=348)
org.apache.hive.jdbc.TestSSL.testMetastoreWithSSL (batchId=272)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/17535/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17535/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17535/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12971498 - PreCommit-HIVE-Build

> ORC ppd produces wrong result with timestamp
> --------------------------------------------
>
>                 Key: HIVE-21862
>                 URL: https://issues.apache.org/jira/browse/HIVE-21862
>             Project: Hive
>          Issue Type: Bug
>          Components: ORC
>    Affects Versions: 4.0.0
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>         Attachments: HIVE-21862.1.patch
>
>
> Note that to reproduce this ORC-491 and ORC-477 is required.
> {code:sql}
> set hive.vectorized.execution.enabled=false;
> set hive.support.concurrency=true;
> set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
> set hive.tez.bucket.pruning=true;
> set hive.optimize.index.filter=true;
> set hive.metastore.disallow.incompatible.col.type.changes=false;
> create table change_allowincompatible_vectorization_false_date (ts date) partitioned
by (s string) clustered by (ts) into 32 buckets stored as orc tblproperties ('transactional'='true');
> alter table change_allowincompatible_vectorization_false_date add partition(s='aaa');
> alter table change_allowincompatible_vectorization_false_date add partition(s='bbb');
> insert into table change_allowincompatible_vectorization_false_date partition (s='aaa')
select ctimestamp1 from alltypesorc where ctimestamp1 > '2000-01-01' limit 50;
> insert into table change_allowincompatible_vectorization_false_date partition (s='bbb')
select ctimestamp1 from alltypesorc where ctimestamp1 < '2000-01-01' limit 50;
> select count(*) from change_allowincompatible_vectorization_false_date;
> alter table change_allowincompatible_vectorization_false_date change column ts ts timestamp;
> select count(*) from change_allowincompatible_vectorization_false_date;
> insert into table change_allowincompatible_vectorization_false_date partition (s='aaa')
values ('2038-03-22 07:26:48.0');
> select ts from change_allowincompatible_vectorization_false_date where ts='2038-03-22
07:26:48.0' and s='aaa';
> {code}
> Expected is one row but actual is zero
>  



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

Mime
View raw message