Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21504

map data type in hive allows complex data type as map key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • HiveServer2
    • None

    Description

      Hi,

      We are trying to use TypeInfoUtils to validate the data type information of a string.

      TypeInfoUtils.getTypeInfoFromTypeString(inputString).getCategory();
      

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            MonaAnnaparthi Mounica Annaparthi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: