hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-957) Partition Metadata and Table Metadata
Date Tue, 01 Dec 2009 02:07:22 GMT

    [ https://issues.apache.org/jira/browse/HIVE-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784009#action_12784009

Namit Jain commented on HIVE-957:

OK - but can you add a new test :

create table T -- 3 cols
create partition P1 --> will have 3 columns
alter table T add column 4
create partition P4 --> will have 4 columns

select c1,c2,c3,c4 from T (include both P1 and P2).

> Partition Metadata and Table Metadata
> -------------------------------------
>                 Key: HIVE-957
>                 URL: https://issues.apache.org/jira/browse/HIVE-957
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>         Attachments: hive-957-2009-11-30.patch
> Right now, we choose to use partition lever metadata. All metadata (column names, column
types, fileformat, serde class, serde properties) right now are from partition level metadata.
But hive does not support a method now to alter all existing partitions' metadata, so users
mostly choose to alter table metadata, and think hive will use the new  table level metadata.

> One approach is that we may need to provide a way to let user alter all partitions' metadata
with one simple command. Right now a short term solution is to only get fileformat, serde
class metadata from paritition level metadata, and use all other metadata from table.
> any comments?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message