hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Chirico (JIRA)" <>
Subject [jira] [Updated] (HIVE-13482) str_to_map function delimiters are regex
Date Sat, 02 Mar 2019 20:02:00 GMT


Michael Chirico updated HIVE-13482:
    Release Note: Clarified documentation of arguments as regular expressions in str_to_map
      Attachment: HIVE-13482.patch
          Status: Patch Available  (was: Open)

See GitHub PR comments for more

> str_to_map function delimiters are regex
> ----------------------------------------
>                 Key: HIVE-13482
>                 URL:
>             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
>          Time Spent: 1h 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
> This behaviour is the same for the closely related 'split' function, however that is
clearly documented in the function description (as per

> 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

View raw message