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


##########
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 row format and storage format are both working for tables that does not 
define any inputformat, Hudi table ways has a inputformat definition, so we are 
good here.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to