codope commented on code in PR #9761: URL: https://github.com/apache/hudi/pull/9761#discussion_r1367606971
########## hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java: ########## @@ -866,11 +866,11 @@ public void validateInsertSchema() throws HoodieInsertException { } public HoodieFileFormat getBaseFileFormat() { - return metaClient.getTableConfig().getBaseFileFormat(); - } - - public HoodieFileFormat getLogFileFormat() { - return metaClient.getTableConfig().getLogFileFormat(); + HoodieTableConfig tableConfig = metaClient.getTableConfig(); + if (tableConfig.contains(HoodieTableConfig.BASE_FILE_FORMAT)) { + return metaClient.getTableConfig().getBaseFileFormat(); + } + return config.getBaseFileFormat(); Review Comment: checking table config first for backward compatibility. -- 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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org