Github user jurriaan commented on a diff in the pull request:
https://github.com/apache/spark/pull/13104#discussion_r63658913
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/text/TextSuite.scala
---
@@ -65,6 +65,14 @@ class TextSuite extends QueryTest with SharedSQLContext {
}
}
+ test("support for partitioned reading") {
+ val df = spark.read.format("text").load(testDir)
+ val data = df.filter("year = '2015'").select("value").collect()
+
+ assert(data(0) == Row("2015-test"))
+ assert(data.length == 1)
--- End diff --
I'm new to this codebase (even new to Scala). But I'm happy to give that a
go in a separate PR :)
---
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]