You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/16 16:57:02 UTC

[jira] [Work logged] (HIVE-15746) Fix default delimiter2 in str_to_map UDF or in method description

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

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

                Author: ASF GitHub Bot
            Created on: 16/Jun/20 16:56
            Start Date: 16/Jun/20 16:56
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #140:
URL: https://github.com/apache/hive/pull/140#issuecomment-644888248


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


----------------------------------------------------------------
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:
users@infra.apache.org


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

            Worklog Id:     (was: 446725)
    Remaining Estimate: 0h
            Time Spent: 10m

> Fix default delimiter2 in str_to_map UDF or in method description
> -----------------------------------------------------------------
>
>                 Key: HIVE-15746
>                 URL: https://issues.apache.org/jira/browse/HIVE-15746
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>    Affects Versions: 2.1.1
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>            Priority: Trivial
>             Fix For: 2.3.0
>
>         Attachments: HIVE-15746.1.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> According to UDF wiki and to GenericUDFStringToMap.java class comments default delimiter 2 should be '='.
> But in the code default_del2 = ":"
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFStringToMap.java#L53
> We need to fix code or fix the method description and UDF wiki
> Let me know what you think?
> {code}
> str_to_map("a=1,b=2")
> vs
> str_to_map("a:1,b:2")
> {code}



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