You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xiao Li (Created) (JIRA)" <ji...@apache.org> on 2011/10/05 20:26:29 UTC

[jira] [Created] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Enable ALTER TABLE SET SERDE to work on partition level
-------------------------------------------------------

                 Key: HIVE-2484
                 URL: https://issues.apache.org/jira/browse/HIVE-2484
             Project: Hive
          Issue Type: Improvement
          Components: Query Processor
            Reporter: Xiao Li


Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment: HIVE-2484.patch.txt

Review request in https://reviews.apache.org/r/2215/
                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "He Yongqiang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121722#comment-13121722 ] 

He Yongqiang commented on HIVE-2484:
------------------------------------

I haven't looked at partition's object to see if there is a method there. But technically, the partition's columns are copied from tables right now. So after a table's columns got changes, the old partitions can still have old ones, though they are not used today.
                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.2.txt, HIVE-2484.patch.3.txt, HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment:     (was: HIVE-2484.patch.2.txt)
    
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "He Yongqiang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121621#comment-13121621 ] 

He Yongqiang commented on HIVE-2484:
------------------------------------

sorry, i should be clear:

{code}
+      if (part != null) {
+        part.getTPartition().getSd().getSerdeInfo().setSerializationLib(serdeName);
+        if ((alterTbl.getProps() != null) && (alterTbl.getProps().size() > 0)) {
+          part.getTPartition().getSd().getSerdeInfo().getParameters().putAll(
+              alterTbl.getProps());
+          }
+        tbl.setFields(Hive.getFieldsFromDeserializer(tbl.getTableName(), tbl.
+            getDeserializer()));
+      } else {
+        tbl.setSerializationLib(alterTbl.getSerdeName());
+        if ((alterTbl.getProps() != null) && (alterTbl.getProps().size() > 0)) {
+          tbl.getTTable().getSd().getSerdeInfo().getParameters().putAll(
+              alterTbl.getProps());
+          }
+        tbl.setFields(Hive.getFieldsFromDeserializer(tbl.getTableName(), tbl.
+            getDeserializer()));
{code}

For the partition level, should not change the table object, and should change the partition object.
                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.2.txt, HIVE-2484.patch.3.txt, HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Assigned] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li reassigned HIVE-2484:
-----------------------------

    Assignee: Xiao Li
    
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121719#comment-13121719 ] 

Xiao Li commented on HIVE-2484:
-------------------------------

    Thanks for the quick reply!
    Maybe I missed something but Is it right to have
partition.setFields?  Shouldn't Table only have one list of Fields
(all partitions should share the same Fileds).


On Wed, Oct 5, 2011 at 5:06 PM, He Yongqiang (Commented) (JIRA)

                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.2.txt, HIVE-2484.patch.3.txt, HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment: HIVE-2484.patch.4.txt
    
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.2.txt, HIVE-2484.patch.3.txt, HIVE-2484.patch.4.txt, HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121395#comment-13121395 ] 

jiraposter@reviews.apache.org commented on HIVE-2484:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2215/#review2362
-----------------------------------------------------------



trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
<https://reviews.apache.org/r/2215/#comment5422>

    code format here.
    



trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
<https://reviews.apache.org/r/2215/#comment5424>

    dup this line and move them to if (part!=null){} and else{}


- Yongqiang


On 2011-10-05 18:40:55, xiaol wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2215/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-10-05 18:40:55)
bq.  
bq.  
bq.  Review request for hive and Yongqiang He.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.
bq.  
bq.  
bq.  This addresses bug HIVE-2484.
bq.      https://issues.apache.org/jira/browse/HIVE-2484
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 1178944 
bq.    trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java 1178944 
bq.    trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g 1178944 
bq.    trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java 1178944 
bq.    trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java 1178984 
bq.    trunk/ql/src/test/queries/clientpositive/alter_table_serde.q PRE-CREATION 
bq.    trunk/ql/src/test/results/clientpositive/alter_table_serde.q.out PRE-CREATION 
bq.  
bq.  Diff: https://reviews.apache.org/r/2215/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  xiaol
bq.  
bq.


                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment: HIVE-2484.patch.2.txt

Fixed places in reviewer's comments
                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.2.txt, HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124671#comment-13124671 ] 

Hudson commented on HIVE-2484:
------------------------------

Integrated in Hive-trunk-h0.21 #1004 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1004/])
    HIVE-2484: Enable ALTER TABLE SET SERDE to work on partition level (Xiao Li via He Yongqiang)

heyongqiang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1181197
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java
* /hive/trunk/ql/src/test/queries/clientpositive/alter_table_serde.q
* /hive/trunk/ql/src/test/results/clientpositive/alter_table_serde.q.out

                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment: HIVE-2484.patch.txt
    
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "He Yongqiang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121394#comment-13121394 ] 

He Yongqiang commented on HIVE-2484:
------------------------------------

The patch looks very good. just 2 small comments on review board.
                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment:     (was: HIVE-2484.patch.txt)
    
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Resolved] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "He Yongqiang (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

He Yongqiang resolved HIVE-2484.
--------------------------------

    Resolution: Fixed

committed, thanks Xiao Li!
                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122376#comment-13122376 ] 

Xiao Li commented on HIVE-2484:
-------------------------------

Changed to set fields on partition level if (part != null). 
See all consolidated changes in 

HIVE-2484.patch.txt
                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment:     (was: HIVE-2484.patch.3.txt)
    
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Work started] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Work started) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HIVE-2484 started by Xiao Li.

> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment: HIVE-2484.patch.3.txt
    
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>         Attachments: HIVE-2484.patch.2.txt, HIVE-2484.patch.3.txt, HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121347#comment-13121347 ] 

jiraposter@reviews.apache.org commented on HIVE-2484:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2215/
-----------------------------------------------------------

Review request for hive and Yongqiang He.


Summary
-------

Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.


This addresses bug HIVE-2484.
    https://issues.apache.org/jira/browse/HIVE-2484


Diffs
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 1178944 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java 1178944 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g 1178944 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java 1178944 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java 1178984 
  trunk/ql/src/test/queries/clientpositive/alter_table_serde.q PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/alter_table_serde.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/2215/diff


Testing
-------


Thanks,

xiaol


                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Updated] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "Xiao Li (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated HIVE-2484:
--------------------------

    Attachment:     (was: HIVE-2484.patch.4.txt)
    
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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

        

[jira] [Commented] (HIVE-2484) Enable ALTER TABLE SET SERDE to work on partition level

Posted by "He Yongqiang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123387#comment-13123387 ] 

He Yongqiang commented on HIVE-2484:
------------------------------------

+1, will commit after tests pass
                
> Enable ALTER TABLE SET SERDE to work on partition level
> -------------------------------------------------------
>
>                 Key: HIVE-2484
>                 URL: https://issues.apache.org/jira/browse/HIVE-2484
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>         Attachments: HIVE-2484.patch.txt
>
>
> Allowed ALTER TABLE SET SERDE and ALTER TABLE SET SERDEPROPERTIES to accept the PARTITION qualifier to work on a specific partition.

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