zeruibao commented on code in PR #54298:
URL: https://github.com/apache/spark/pull/54298#discussion_r2806682277
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBStateStoreProvider.scala:
##########
@@ -1408,6 +1408,30 @@ class RocksDBStateStoreChangeDataReader(
override protected val changelogSuffix: String = "changelog"
+ /**
+ * Read the next changelog record, skipping DELETE_RANGE_RECORD entries as
they cannot
+ * be represented as individual key-value change records in the state change
data feed.
+ * Returns null if there are no more records.
+ */
+ private def readNextChangelogRecord():
+ (RecordType.Value, Array[Byte], Array[Byte]) = {
+ while (true) {
Review Comment:
yeah, changed it.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]