[ 
https://issues.apache.org/jira/browse/KYLIN-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15482757#comment-15482757
 ] 

fengYu commented on KYLIN-1173:
-------------------------------

Hi, as it is diffcult to detect modifying cloumn in hive cli by kylin server, 
So when user need to modify the column name, we recommend that add column 
rather than modify the name.(which is the advantage of hive view compare to 
hive table)

Therefore I think this jira is a caution for kylin user, I don't think it is 
necessary to solve it in kylin. 

> Can not load hive table after modify table metadata
> ---------------------------------------------------
>
>                 Key: KYLIN-1173
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1173
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v1.0
>            Reporter: fengYu
>
> Hi all:
>    
> when I want to change the column in hive source table and reload table in 
> kylin,  I can not see any column in the table after reload, I restart kylin 
> server and reload the table , the column(name is modified) appeares 
> I write a test program like this(kylin do the same thing while reloading 
> table) :
> HiveClient client = new HiveClient();
> List<FieldSchema> fields = client.getHiveTableFields(database, table);
> \\waiting here and modify table column name
>  fields = client.getHiveTableFields(database, table);
> client.getHiveTableFields return all columns in the table at the first time, 
> and after I modify one column and recall  client.getHiveTableFields function, 
> it return am empty list. It will return the same list if I do not change the 
> column name in the middle.
> I doubt maybe something error in hive metastore, any help will be 
> appreciate...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to