You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (Updated) (JIRA)" <ji...@apache.org> on 2012/01/31 00:19:11 UTC

[jira] [Updated] (HIVE-2762) Alter Table Partition Concatenate Fails On Certain Characters

     [ 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.1.patch

kevinwilfong requested code review of "HIVE-2762 [jira] Alter Table Partition Concatenate Fails On Certain Characters".
Reviewers: JIRA

  https://issues.apache.org/jira/browse/HIVE-2762

  Changed the way the URI is created for a partition file as part of alter table partition concatenate queries.  This seems to resolve the issue.

  Also added a new test which checks alter table partition concsatenate queries on partitions containing most ASCII characters.

  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.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D1533

AFFECTED FILES
  ql/src/test/results/clientpositive/escape2.q.out
  ql/src/test/queries/clientpositive/escape2.q

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/3201/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.

                
> 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.D1533.1.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