You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thomas Friedrich (JIRA)" <ji...@apache.org> on 2015/11/20 22:53:11 UTC

[jira] [Created] (HIVE-12489) Analyze for partition fails if partition value has special characters

Thomas Friedrich created HIVE-12489:
---------------------------------------

             Summary: Analyze for partition fails if partition value has special characters
                 Key: HIVE-12489
                 URL: https://issues.apache.org/jira/browse/HIVE-12489
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 1.1.0, 1.2.0, 1.0.0, 0.14.0, 0.13.0, 0.12.0
            Reporter: Thomas Friedrich
            Assignee: Thomas Friedrich
            Priority: Minor


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;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)