anishshri-db commented on code in PR #49304: URL: https://github.com/apache/spark/pull/49304#discussion_r1961021758
########## sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/RocksDBSuite.scala: ########## @@ -1074,14 +1140,25 @@ class RocksDBSuite extends AlsoTestWithRocksDBFeatures with SharedSparkSession db.load(version, versionToUniqueId.get(version)) assert(db.iterator().map(toStr).toSet === Set((version.toString, version.toString))) } + for (version <- 31 to 60) { db.load(version - 1, versionToUniqueId.get(version - 1)) db.put(version.toString, version.toString) db.remove((version - 1).toString) db.commit() } assert(changelogVersionsPresent(remoteDir) === (1 to 30)) - assert(snapshotVersionsPresent(remoteDir) === (31 to 60)) + + var result: Seq[Long] = if (colFamiliesEnabled) { + Seq(1) + } else { + Seq.empty + } + + (31 to 60).foreach { i => Review Comment: Actually have to revert to original for this to work -- 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