Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15272#discussion_r84269182
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/BucketedReadSuite.scala ---
    @@ -408,6 +467,25 @@ class BucketedReadSuite extends QueryTest with 
SQLTestUtils with TestHiveSinglet
         }
       }
     
    +  test("SPARK-17698 Join predicates should not contain filter clauses") {
    +    val bucketSpec = Some(BucketSpec(8, Seq("i"), Seq("i")))
    +    testBucketing(
    +      bucketSpecLeft = bucketSpec,
    +      bucketSpecRight = bucketSpec,
    +      joinType = "fullouter",
    +      joinCondition = (left: DataFrame, right: DataFrame) => {
    +        val joinPredicates = Seq("i").map(col => left(col) === 
right(col)).reduce(_ && _)
    --- End diff --
    
    isn't it just `val joinPredicates = left(col) === right(col)`?


---
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]

Reply via email to