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


##########
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/procedures/ShowColumnStatsOverlapProcedure.scala:
##########
@@ -262,7 +263,7 @@ class ShowColumnStatsOverlapProcedure extends BaseProcedure 
with ProcedureBuilde
 
     val timeline = 
metaClient.getActiveTimeline.getCommitsTimeline.filterCompletedInstants()
 
-    val maxInstant = metaClient.createNewInstantTime()
+    val maxInstant = HoodieInstantTimeGenerator.getCurrentTimeAsString

Review Comment:
   why cann't we just use `table.getMetaClient().createNewInstantTime(false)`.



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