You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/08/19 09:34:00 UTC

[jira] [Closed] (KYLIN-1173) Can not load hive table after modify table metadata

     [ https://issues.apache.org/jira/browse/KYLIN-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI closed KYLIN-1173.
-------------------------------

> 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.4.14#64029)