Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26599

BroardCast hint can not work with PruneFileSourcePartitions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4.0
    • None
    • SQL
    • None

    Description

      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`

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eaton eaton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: