the-other-tim-brown commented on code in PR #13979:
URL: https://github.com/apache/hudi/pull/13979#discussion_r2375871633
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieSparkSqlWriter.scala:
##########
@@ -508,6 +508,11 @@ class HoodieSparkSqlWriterInternal {
throw new
UnsupportedOperationException(s"${writeConfig.getRecordMerger.getClass.getName}
only support parquet log.")
}
instantTime = client.startCommit(commitActionType)
+ // if table has undergone upgrade, we need to reload table config
+ tableConfig = HoodieTableMetaClient.builder()
Review Comment:
The meta client initialization also reads index definitions now, can we just
simply load the TableConfig or use the `reloadTableConfig`?
--
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]