fengYu created KYLIN-1173:
-----------------------------

             Summary: 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