Github user xuanyuanking commented on the issue:

    https://github.com/apache/spark/pull/22326
  
    @cloud-fan Thanks for your comment.
    ```
    IIUC, you are pulling out the join condition with python UDF and create a 
filter above join. Then the join become a cross join, which usually runs very 
slowly.
    ```
    Yes, that's right.
    ```
    I think we should keep the cross join check for this case.
    ```
    Yes, as Marco suggestion, the currently behavior is control cross join by 
`crossJoinEnabled` config, if crossJoinEnabled = false, it will throw 
AnalysisException.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to