chaoqin-li1123 commented on code in PR #41099: URL: https://github.com/apache/spark/pull/41099#discussion_r1199515899
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala: ########## @@ -134,6 +137,27 @@ class RocksDBFileManager( private val onlyZipFiles = new PathFilter { override def accept(path: Path): Boolean = path.toString.endsWith(".zip") } + private val onlyDeltaFiles = new PathFilter { + override def accept(path: Path): Boolean = path.toString.endsWith(".changelog") + } + + private lazy val sparkConf = Option(SparkEnv.get).map(_.conf).getOrElse(new SparkConf) Review Comment: yep, it is quite inconvenient to pass the spark conf to here. -- 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