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

Analyze for partition fails if partition value has special characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12.0, 0.13.0, 0.14.0, 1.0.0, 1.1.0, 1.2.0
    • 2.0.0
    • Statistics
    • None

    Description

      When analyzing a partition that has a special characters in the value, the analyze command fails with an exception.
      Example:
      hive> create table testtable (a int) partitioned by (b string);
      hive> insert into table testtable partition (b="p\"1") values (1);
      hive> ANALYZE TABLE testtable PARTITION(b="p\"1") COMPUTE STATISTICS for columns a;

      Attachments

        1. HIVE-12489.patch
          6 kB
          Thomas Friedrich

        Activity

          People

            tfriedr Thomas Friedrich
            tfriedr Thomas Friedrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: