hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2826) ALTER VIEW ADD PARTITION needs IF NOT EXISTS.
Date Mon, 09 Apr 2012 20:35:17 GMT

     [ https://issues.apache.org/jira/browse/HIVE-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carl Steinbach updated HIVE-2826:
---------------------------------

    Description: 
Support for ALTER TABLE x ADD IF NOT EXISTS PARTITION was added in HIVE-1106. The same semantics
should be supported for ALTER VIEW.

WAS:
When trying to add a partition, if the partition already exists, we shouldn't necessarily
cause the job to fail...just like we have CREATE TABLE IF NOT EXISTS and DROP TABLE IF EXISTS,
we should have ALTER TABLE foo ADD PARTITION IF NOT EXISTS (ds=whatever).

Ditto for ALTER VIEW.

  was:
When trying to add a partition, if the partition already exists, we shouldn't necessarily
cause the job to fail...just like we have CREATE TABLE IF NOT EXISTS and DROP TABLE IF EXISTS,
we should have ALTER TABLE foo ADD PARTITION IF NOT EXISTS (ds=whatever).

Ditto for ALTER VIEW.

        Summary: ALTER VIEW ADD PARTITION needs IF NOT EXISTS.  (was: ALTER TABLE ADD PARTITION
needs IF NOT EXISTS.)
    
> ALTER VIEW ADD PARTITION needs IF NOT EXISTS.
> ---------------------------------------------
>
>                 Key: HIVE-2826
>                 URL: https://issues.apache.org/jira/browse/HIVE-2826
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Adam Kramer
>
> Support for ALTER TABLE x ADD IF NOT EXISTS PARTITION was added in HIVE-1106. The same
semantics should be supported for ALTER VIEW.
> WAS:
> When trying to add a partition, if the partition already exists, we shouldn't necessarily
cause the job to fail...just like we have CREATE TABLE IF NOT EXISTS and DROP TABLE IF EXISTS,
we should have ALTER TABLE foo ADD PARTITION IF NOT EXISTS (ds=whatever).
> Ditto for ALTER VIEW.

--
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

        

Mime
View raw message