Hive 向分区列添加注释

Hive 向分区列添加注释,hive,hiveql,Hive,Hiveql,我有以下配置单元表,其中eventdate是分区列: hive> describe item_pages; siteid int the site identifier for the host domain externalsessionid string the instrumented sessionid item_pages array&

我有以下配置单元表,其中eventdate是分区列:

hive> describe item_pages;
siteid                  int                     the site identifier for the host domain
externalsessionid       string                  the instrumented sessionid
item_pages              array<string>           an array of all distinct page IDs
eventdate               string                  None                

# Partition Information      
# col_name              data_type               comment             

eventdate               string                  None     

(示例命令与成功将注释插入到按描述语句具有列的列中的命令完全相同。)

您是否找到解决此问题的方法?我最近也遇到过同样的问题我不记得了,但我想我没有。这个问题没有解决办法。我认为必须有人向hive团队提出这个问题。根据:分区可以通过在ALTER TABLE语句中使用PARTITION子句来添加、重命名、交换(移动)、删除或(取消)归档。没有评论选项:(
hive> ALTER TABLE da_itempages CHANGE eventdate eventdate string COMMENT 'the PST calendar date of the item page views in YYYY-MM-DD format'
Column 'eventdate' does not exists
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask