-
- Downloads
[SPARK-16430][SQL][STREAMING] Fixed bug in the maxFilesPerTrigger in FileStreamSource
## What changes were proposed in this pull request? Incorrect list of files were being allocated to a batch. This caused a file to read multiple times in the multiple batches. ## How was this patch tested? Added unit tests Author: Tathagata Das <tathagata.das1565@gmail.com> Closes #14143 from tdas/SPARK-16430-1.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/FileStreamSource.scala 3 additions, 3 deletions...ache/spark/sql/execution/streaming/FileStreamSource.scala
- sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSourceSuite.scala 33 additions, 2 deletions...rg/apache/spark/sql/streaming/FileStreamSourceSuite.scala
Please register or sign in to comment