Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1173

Can not load hive table after modify table metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • v1.0
    • None
    • None
    • None

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            feng_xiao_yu fengYu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: