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

ASF GitHub Bot logged work on HIVE-13482:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jun/20 16:03
            Start Date: 09/Jun/20 16:03
    Worklog Time Spent: 10m 
      Work Description: dlavati-hw commented on pull request #553:
URL: https://github.com/apache/hive/pull/553#issuecomment-641209357


   @MichaelChirico your last patch attached to Jira had test failures which 
might need fixes even in the current upstream state.
   Right now the testing infra is being refactored to use Github, but I'm not 
sure whether you'd need a new push to this PR to trigger a test. If you 
pull+rebase apache/master on your branch and push, you'd probably get a new 
test run here.
   PRs will only get merged after a green run and a commiter's approval. (I'm 
not one, so someone else from the community might help when you have a good 
patch)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 442839)
    Time Spent: 2.5h  (was: 2h 20m)

> 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: Catherine K Anderson
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HIVE-13482.patch, HIVE-13482.patch, HIVE.13482.01.patch
>
>          Time Spent: 2.5h
>  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
(v8.3.4#803005)

Reply via email to