eaton created SPARK-26599:
-----------------------------

             Summary: BroardCast hint can not work with 
PruneFileSourcePartitions
                 Key: SPARK-26599
                 URL: https://issues.apache.org/jira/browse/SPARK-26599
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: eaton


BroardCast hint can not work with `PruneFileSourcePartitions`, for example, 
when the filter condition p is a partition field, table b in SQL below cannot 
be broadcast.

` sql("select /*+ broadcastjoin(b) */ * from (select a from empty_test where 
p=1) a " +
 "join (select a,b from par_1 where p=1) b on a.a=b.a").explain`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to