[jira] [Updated] (HIVE-15746) Fix default delimiter2 in str_to_map UDF or in method description
[ https://issues.apache.org/jira/browse/HIVE-15746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Pivovarov updated HIVE-15746: --- Affects Version/s: 2.2.0 > 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.2.0 >Reporter: Alexander Pivovarov >Assignee: Alexander Pivovarov >Priority: Trivial > > 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 (v6.3.4#6332)
[jira] [Updated] (HIVE-15746) Fix default delimiter2 in str_to_map UDF or in method description
[ https://issues.apache.org/jira/browse/HIVE-15746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Pivovarov updated HIVE-15746: --- Status: Patch Available (was: Open) > 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.2.0 >Reporter: Alexander Pivovarov >Assignee: Alexander Pivovarov >Priority: Trivial > Attachments: HIVE-15746.1.patch > > > 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 (v6.3.4#6332)
[jira] [Updated] (HIVE-15746) Fix default delimiter2 in str_to_map UDF or in method description
[ https://issues.apache.org/jira/browse/HIVE-15746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Pivovarov updated HIVE-15746: --- Attachment: HIVE-15746.1.patch I changed default delimiter2 value to ":" in UDF method description > 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.2.0 >Reporter: Alexander Pivovarov >Assignee: Alexander Pivovarov >Priority: Trivial > Attachments: HIVE-15746.1.patch > > > 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 (v6.3.4#6332)
[jira] [Updated] (HIVE-15746) Fix default delimiter2 in str_to_map UDF or in method description
[ https://issues.apache.org/jira/browse/HIVE-15746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Pivovarov updated HIVE-15746: --- Affects Version/s: (was: 2.2.0) 2.1.1 Fix Version/s: 2.2.0 > 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.2.0 > > Attachments: HIVE-15746.1.patch > > > 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 (v6.3.15#6346)
[jira] [Updated] (HIVE-15746) Fix default delimiter2 in str_to_map UDF or in method description
[ https://issues.apache.org/jira/browse/HIVE-15746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Pivovarov updated HIVE-15746: --- Resolution: Fixed Status: Resolved (was: Patch Available) > 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.2.0 > > Attachments: HIVE-15746.1.patch > > > 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 (v6.3.15#6346)
[jira] [Updated] (HIVE-15746) Fix default delimiter2 in str_to_map UDF or in method description
[ https://issues.apache.org/jira/browse/HIVE-15746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated HIVE-15746: -- Labels: pull-request-available (was: ) > 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 > Labels: pull-request-available > 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)