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

Unescape partition names returned by show partitions

    XMLWordPrintableJSON

    Details

    • Release Note:
      Hide
      Adds 'hive.decode.partition.name' option to config.
      Decode the partition names when the option is set to true.
      Show
      Adds 'hive.decode.partition.name' option to config. Decode the partition names when the option is set to true.

      Description

      The partition names returned by the SHOW PARTITIONS call in Hive contain escape sequences from the metastore.

      ex) SHOW PARTITIONS XXX;
      returns partition names like
      ...ts=2012-02-02+17%3A12%3A43...where %3A is ':'

      Hive should unescape escape sequences like that before returning the partition names unless it is configured to return the URL encoded partition name.

        Attachments

        1. HIVE-3679.1.patch.txt
          11 kB
          Wonho Kim

          Activity

            People

            • Assignee:
              wonho Wonho Kim
              Reporter:
              wonho Wonho Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: