hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-957) Partiition Metadata and Table Metadata
Date Mon, 30 Nov 2009 23:44:20 GMT

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

Zheng Shao commented on HIVE-957:
---------------------------------

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

In our environment, we have been seeing users calling "alter table" on table-level meta data
to:
* Replace the column separator for all partitions (because they created the table with wrong
separator)
* Append additional columns
* Rename existing columns


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


Mime
View raw message