Skip to content

Commit b1646aa

Browse files
committed
Should allow empty input paths
1 parent 32e5f0d commit b1646aa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/sources/interfaces.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ abstract class HadoopFsRelation private[sql](maybePartitionSpec: Option[Partitio
413413
}
414414

415415
def refresh(): Unit = {
416-
assert(paths.nonEmpty, "Input paths can't be empty")
417416
val files = listLeafFilesAndDirs(paths)
418417

419418
leafFiles.clear()

0 commit comments

Comments
 (0)