[
https://issues.apache.org/jira/browse/HIVE-2762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2762:
------------------------------
Attachment: HIVE-2762.D1533.3.patch
kevinwilfong updated the revision "HIVE-2762 [jira] Alter Table Partition
Concatenate Fails On Certain Characters".
Reviewers: JIRA, njain
Those commands are not the same, they contain unprintable characters in this
format. I updated the test with comments indicating which ASCII characters
those represent, and which ASCII characters are not represented in the test.
Those cases are already being escaped in the metastore, I just included them
for the sake of completeness, or something close to it.
REVISION DETAIL
https://reviews.facebook.net/D1533
AFFECTED FILES
ql/src/test/results/clientpositive/escape2.q.out
ql/src/test/queries/clientpositive/escape2.q
ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
> Alter Table Partition Concatenate Fails On Certain Characters
> -------------------------------------------------------------
>
> Key: HIVE-2762
> URL: https://issues.apache.org/jira/browse/HIVE-2762
> Project: Hive
> Issue Type: Bug
> Reporter: Kevin Wilfong
> Assignee: Kevin Wilfong
> Attachments: HIVE-2762.1.patch.txt, HIVE-2762.D1533.1.patch,
> HIVE-2762.D1533.2.patch, HIVE-2762.D1533.3.patch
>
>
> Alter table partition concatenate creates a Java URI object for the location
> of a partition. If the partition name contains certain characters, such as }
> or space ' ', the object constructor fails, causing the query to fail.
--
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