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 Fri, 14 Jun 2019 07:51:00 GMT

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

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

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} |
{color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  2m  8s{color} | {color:blue}
Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  7m 56s{color}
| {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 35s{color} |
{color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  1m  0s{color}
| {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  4m 15s{color} | {color:blue}
ql in master has 2260 extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m 43s{color} | {color:blue}
llap-server in master has 81 extant Findbugs warnings. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 19s{color} |
{color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 29s{color} | {color:blue}
Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 50s{color}
| {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 30s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m 30s{color} | {color:green}
the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 43s{color} | {color:red}
ql: The patch generated 3 new + 283 unchanged - 0 fixed = 286 total (was 283) {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color}
| {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  5m 20s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 20s{color} |
{color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 15s{color}
| {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 31m 20s{color} | {color:black}
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19)
x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-17570/dev-support/hive-personality.sh
|
| git revision | master / a55ccaa |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-17570/yetus/diff-checkstyle-ql.txt
|
| modules | C: ql llap-server U: . |
| Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-17570/yetus.txt |
| Powered by | Apache Yetus    http://yetus.apache.org |


This message was automatically generated.



> 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, HIVE-21862.2.patch, HIVE-21862.3.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