You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Simon poortman (JIRA)" <ji...@apache.org> on 2019/03/26 18:33:00 UTC

[jira] [Commented] (HIVE-21504) map data type in hive allows complex data type as map key

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

Simon poortman commented on HIVE-21504:
---------------------------------------

Key

> map data type in hive allows complex data type as map key
> ---------------------------------------------------------
>
>                 Key: HIVE-21504
>                 URL: https://issues.apache.org/jira/browse/HIVE-21504
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Mounica Annaparthi
>            Assignee: Simon poortman
>            Priority: Major
>
> Hi,
> We are trying to use TypeInfoUtils to validate the data type information of a string.
> {code:java}
> TypeInfoUtils.getTypeInfoFromTypeString(inputString).getCategory();
> {code}
> map<array<int>,string> comes back as data type MAP . I was expecting this to give back error as map key should only be a primitive type.
> Could you please check and let us know if this is already known issue or this is something that has to be fixed.
> Thanks!
> Mona



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