JingsongLi commented on code in PR #6621:
URL: https://github.com/apache/paimon/pull/6621#discussion_r2534124064


##########
paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonBaseScan.scala:
##########
@@ -56,6 +57,24 @@ abstract class PaimonBaseScan(
 
   override val coreOptions: CoreOptions = CoreOptions.fromMap(table.options())
 
+  val latestSnapshot: Option[Snapshot] = table.latestSnapshot()
+
+  val currentSnapshot: Option[Snapshot] =

Review Comment:
   Maybe you can get current snapshot from `getOriginSplits`.



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