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

Hive QA commented on HIVE-23269:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 17284 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[avrotblsjoin]
 (batchId=62)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[correlationoptimizer8]
 (batchId=43)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[filter_join_breaktask2]
 (batchId=109)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_literals]
 (batchId=122)
org.apache.hive.jdbc.TestActivePassiveHA.testActivePassiveHA (batchId=218)
{noformat}

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

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: 5 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 13003715 - PreCommit-HIVE-Build

> Unsafe comparing bigints and strings
> ------------------------------------
>
>                 Key: HIVE-23269
>                 URL: https://issues.apache.org/jira/browse/HIVE-23269
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 4.0.0
>            Reporter: Zhihua Deng
>            Priority: Major
>         Attachments: HIVE-23269.2.patch, HIVE-23269.patch
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Comparing bigints and varchars or chars may result to wrong result,  for 
> example:
> CREATE TABLE test_a (appid1 varchar(256),  appid2 char(20));
> INSERT INTO  test_a VALUES ('2882303761517473127', '2882303761517473127'), 
> ('2882303761517473276','2882303761517473276');
> SET hive.strict.checks.type.safety=false;
> SELECT appid1 FROM test_a WHERE appid1 = 2882303761517473127;
> SELECT appid2 FROM test_a WHERE appid2 = 2882303761517473127;​
> Both queries will output the row: 
> ('2882303761517473276','2882303761517473276')



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to