Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/15376#discussion_r83622009
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
---
@@ -1886,6 +1887,37 @@ class SQLQuerySuite extends QueryTest with
SQLTestUtils with TestHiveSingleton {
}
}
+ test("SPARK-17796 Support wildcard character in filename for LOAD DATA
LOCAL INPATH") {
+ withTempDir { dir =>
+ for (i <- 1 to 3) {
+ val writer = new PrintWriter(new File(s"$dir/part-r-0000$i"))
--- End diff --
PS I think you can use Files.write from Guava to do this a little more
easily
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]