Skip to content

Commit

Permalink
fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
gatorsmile committed Nov 12, 2016
1 parent 6bf0779 commit b6bdf92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ case class DataSource(
StructType(schema.filterNot(f => partitionColumns.exists(equality(_, f.name))))
}.orElse {
if (allPaths.isEmpty && !format.isInstanceOf[TextFileFormat]) {
throw new IllegalArgumentException(s"'path' is not specified")
throw new IllegalArgumentException("'path' is not specified")
}
format.inferSchema(
sparkSession,
Expand Down

0 comments on commit b6bdf92

Please sign in to comment.