Github user wangyum commented on the issue:

    https://github.com/apache/spark/pull/19560
  
    I also hint this issues:
    ```sql
    select * from A join B on a.key = b.key
    ```
    table A is small but table B is big and table B's stats are incorrect. so 
It will Broadcast table B.
    
    I try to use Broadcast hint to solve this issues:
    ```sql
    select /*+ MAPJOIN(A) */ * from A join B on a.key = b.key
    ```
    But it doesn't work. I create a pr to fix it: 
https://github.com/apache/spark/pull/19714


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to