nsivabalan commented on code in PR #13979:
URL: https://github.com/apache/hudi/pull/13979#discussion_r2373613039


##########
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:
   if not for this fix, the subsequent record generation is using stale 
tableConfig and so ordering values incase of mysql debezium payload is set to 
older values. 
   



-- 
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