Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/16044#discussion_r90042593
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala ---
@@ -575,6 +575,24 @@ class JoinSuite extends QueryTest with
SharedSQLContext {
Row(3, 2) :: Nil)
}
+ test("predicate push down in left anti join") {
+ val df = sql("SELECT l.a, l.b FROM testData2 l LEFT ANTI JOIN testData
r ON l.a = l.b")
--- End diff --
If you add that file into
`spark/sql/core/src/test/resources/sql-tests/inputs`, the result can be
generated by the following. Please refer `SQLQueryTestSuite.scala`.
```
SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/test-only *SQLQueryTestSuite"
```
And you can run the test by the following.
```
build/sbt "sql/test-only *SQLQueryTestSuite"
```
---
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]