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-14349) Vectorization: LIKE should anchor the regexes
Date Thu, 28 Jul 2016 14:21:20 GMT

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

Hive QA commented on HIVE-14349:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 10373 tests executed
*Failed tests:*
{noformat}
TestMsgBusConnection - did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_avro_nullable_union
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_12
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_stats_list_bucket
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_multiinsert
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_avro_non_nullable_union
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/673/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/673/console
Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-673/

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

This message is automatically generated.

ATTACHMENT ID: 12820334 - PreCommit-HIVE-MASTER-Build

> Vectorization: LIKE should anchor the regexes
> ---------------------------------------------
>
>                 Key: HIVE-14349
>                 URL: https://issues.apache.org/jira/browse/HIVE-14349
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF, Vectorization
>    Affects Versions: 1.2.1, 2.2.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>             Fix For: 1.3.0, 2.2.0, 2.1.1
>
>         Attachments: HIVE-14349.1.patch
>
>
> RLIKE works like contains() and LIKE works like matches().
> The UDFLike LIKE -> Regex conversion returns unanchored regexes making the vectorized
LIKE behave like RLIKE.
> {code}
> create temporary table x (a string) stored as orc;
> insert into x values('XYZa'), ('badXYZa');
> select * from x where a LIKE 'XYZ%a%' order by 1;
> OK
> XYZa
> badXYZa
> Time taken: 4.029 seconds, Fetched: 2 row(s)
> {code}



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

Mime
View raw message