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: [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]