We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b200a50 commit e7871f3Copy full SHA for e7871f3
sql/core/src/test/scala/org/apache/spark/sql/sources/SaveLoadSuite.scala
@@ -147,7 +147,7 @@ class SaveLoadSuite extends DataSourceTest with SharedSQLContext with BeforeAndA
147
test("skip empty files in load") {
148
withTempDir { dir =>
149
val path = dir.getCanonicalPath
150
- Files.write(Paths.get(path, "empty"), Array[Byte]())
+ Files.write(Paths.get(path, "empty"), Array.empty[Byte])
151
Files.write(Paths.get(path, "notEmpty"), "a".getBytes)
152
val readback = spark.read.option("wholetext", true).text(path)
153
0 commit comments