You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "danny0405 (via GitHub)" <gi...@apache.org> on 2023/03/20 10:33:39 UTC

[GitHub] [hudi] danny0405 commented on a diff in pull request #7964: [HUDI-5805] hive query on mor get empty result before compaction

danny0405 commented on code in PR #7964:
URL: https://github.com/apache/hudi/pull/7964#discussion_r1141918105


##########
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/ddl/HMSDDLExecutor.java:
##########
@@ -140,6 +142,10 @@ public void createTable(String tableName, MessageType storageSchema, String inpu
         newTb.setTableType(TableType.EXTERNAL_TABLE.toString());
       }
 
+      if (!tableProperties.containsKey(hive_metastoreConstants.META_TABLE_STORAGE)) {
+        tableProperties.put(hive_metastoreConstants.META_TABLE_STORAGE, DefaultStorageHandler.class.getName());
+      }
+

Review Comment:
   The related document from Hive about the storage handlers: https://cwiki.apache.org/confluence/display/Hive/StorageHandlers



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org