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

Hive QA commented on HIVE-13482:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12966594/HIVE.13482.01.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 19 failed/errored test(s), 15823 tests 
executed
*Failed tests:*
{noformat}
TestCachedStore - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestCatalogCaching - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestDataSourceProviderFactory - did not produce a TEST-*.xml file (likely timed 
out) (batchId=231)
TestDeadline - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestHiveMetaStoreGetMetaConf - did not produce a TEST-*.xml file (likely timed 
out) (batchId=231)
TestHiveMetaStoreTimeout - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestHiveMetaStoreTxns - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestMarkPartition - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestMarkPartitionRemote - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestMetaStoreEventListenerOnlyOnCommit - did not produce a TEST-*.xml file 
(likely timed out) (batchId=231)
TestMetaStoreEventListenerWithOldConf - did not produce a TEST-*.xml file 
(likely timed out) (batchId=231)
TestMetaStoreInitListener - did not produce a TEST-*.xml file (likely timed 
out) (batchId=231)
TestMetaStoreListenersError - did not produce a TEST-*.xml file (likely timed 
out) (batchId=231)
TestMetaStoreSchemaInfo - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestObjectStore - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestObjectStoreSchemaMethods - did not produce a TEST-*.xml file (likely timed 
out) (batchId=231)
TestRemoteHiveMetaStoreZKBindHost - did not produce a TEST-*.xml file (likely 
timed out) (batchId=231)
TestTableIterable - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[str_to_map] (batchId=69)
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12966594 - PreCommit-HIVE-Build

> str_to_map function delimiters are regex
> ----------------------------------------
>
>                 Key: HIVE-13482
>                 URL: https://issues.apache.org/jira/browse/HIVE-13482
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>    Affects Versions: 1.0.0
>            Reporter: Janick Bernet
>            Assignee: Michael Chirico
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HIVE-13482.patch, HIVE-13482.patch, HIVE.13482.01.patch
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> The two delimiters passed to the 'str_to_map' function are both interpreted 
> as regular expressions, which means that using the pipe ('|') as a delimiter 
> will lead to very unexpected results.
> This behaviour is the same for the closely related 'split' function, however 
> that is clearly documented in the function description (as per 
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF). 
> Either the documentation for 'str_to_map' should be updated to reflect that 
> the delimiters are both regular expressions, too, or the implementation 
> should be changed to not interpret them as regexes.



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

Reply via email to