nsivabalan commented on code in PR #9031:
URL: https://github.com/apache/hudi/pull/9031#discussion_r1238093271
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala:
##########
@@ -110,6 +112,13 @@ object CreateHoodieTableCommand {
}
}
+ def validateMOR(tableConfig: HoodieTableConfig): Unit = {
+ if
(tableConfig.getTableType.name.equals(DataSourceWriteOptions.MOR_TABLE_TYPE_OPT_VAL)
+ && StringUtils.isNullOrEmpty(tableConfig.getPreCombineField)) {
Review Comment:
I guess this is called only after init table. so table config will be
available
--
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]