Skip to content

Commit

Permalink
fix fs infer (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadikovi authored Jun 22, 2017
1 parent 1af9de3 commit a78ed1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ class DefaultSource extends FileFormat with DataSourceRegister {
val opts = optsBroadcast.value
val conf = confBroadcast.value.value

val fs = FileSystem.get(conf)
val path = new Path(file.filePath)
val fs = path.getFileSystem(conf)
val fileLength = file.length

// Prepare file stream
Expand Down

0 comments on commit a78ed1a

Please sign in to comment.