Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/7743#discussion_r35732512
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/UDFSuite.scala ---
@@ -58,6 +61,17 @@ class UDFSuite extends QueryTest {
ctx.dropTempTable("tmp_table")
}
+ test("SPARK-8005 input_file_name") {
+ withTempPath { dir =>
+ val data = ctx.sparkContext.parallelize(0 to 1000).toDF("id")
--- End diff --
if you specify the number of partitions as 2, i think you can add a test to
count the distinct number of paths returned, and then you can check that the
number has to >= 2
---
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]