anishshri-db commented on code in PR #50119: URL: https://github.com/apache/spark/pull/50119#discussion_r1978015540
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDB.scala: ########## @@ -671,16 +671,15 @@ class RocksDB( if (useColumnFamilies) { changelogReader.foreach { case (recordType, key, value) => - val (keyWithoutPrefix, cfName) = decodeStateRowWithPrefix(key) recordType match { case RecordType.PUT_RECORD => - put(keyWithoutPrefix, value, cfName) + put(key, value, isExistingChangelogRow = true) Review Comment: Can we add a small unit test ? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org