Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class FileInputDStream[K, V, F <: NewInputFormat[K, V]](
private[streaming]
object FileInputDStream {

def defaultFilter(path: Path): Boolean = !path.getName().startsWith(".")
def defaultFilter(path: Path): Boolean = (!path.getName().startsWith(".")) && (path.getName().indexOf(".tmp") == -1)

/**
* Calculate the number of last batches to remember, such that all the files selected in
Expand Down