[ https://issues.apache.org/jira/browse/HIVE-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated HIVE-2943: ----------------------------- Priority: Minor (was: Major) > Escaping quote in partition value encodes both backslash and quote in the > partition name > ---------------------------------------------------------------------------------------- > > Key: HIVE-2943 > URL: https://issues.apache.org/jira/browse/HIVE-2943 > Project: Hive > Issue Type: Bug > Components: SQL > Affects Versions: 0.9.0 > Reporter: Alan Gates > Priority: Minor > > {code} > create table foo (a string, c int) partitioned by (b string) stored as > textfile; > alter table foo add partition (b = 'abc\'def') location '/bla'; > show partitions foo; > OK > b=abc%5C%27def > {code} > The \ has been encoded in as %5C in addition to the single quote (%27). The > parser should remove the backslash in this context, since it is here to > escape the single quote. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira