You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by HyukjinKwon <gi...@git.apache.org> on 2018/01/05 14:48:34 UTC
[GitHub] spark pull request #19247: [Spark-21996][SQL] read files with space in name ...
Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/19247#discussion_r159893158
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/FileStreamSource.scala ---
@@ -233,7 +233,7 @@ class FileStreamSource(
}
val files = allFiles.sortBy(_.getModificationTime)(fileSortOrder).map { status =>
- (status.getPath.toUri.toString, status.getModificationTime)
+ (status.getPath.toUri.getPath, status.getModificationTime)
--- End diff --
ping @xysun ^
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org