gaborgsomogyi commented on a change in pull request #27664: [SPARK-30915][SS]
FileStreamSink: Avoid reading the metadata log file when finding the latest
batch ID
URL: https://github.com/apache/spark/pull/27664#discussion_r402362508
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/FileStreamSinkLogSuite.scala
##########
@@ -240,6 +247,40 @@ class FileStreamSinkLogSuite extends SparkFunSuite with
SharedSparkSession {
))
}
+ test("getLatestBatchId") {
+ withCountOpenLocalFileSystemAsLocalFileSystem {
+ val scheme = CountOpenLocalFileSystem.scheme
+ withSQLConf(SQLConf.FILE_SINK_LOG_COMPACT_INTERVAL.key -> "3") {
+ withTempDir { file =>
Review comment:
If it's a dir maybe we can call it `dir` or `path`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]