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

Makes DPP support the pruning side has Union

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • SQL
    • None

    Description

      Support the following case:

      SELECT f.store_id,
             f.date_id,
             s.state_province
      FROM (SELECT 4 AS store_id,
                     date_id,
                     product_id
            FROM   fact_sk
            WHERE  date_id >= 1300
            UNION ALL
            SELECT   store_id,
                     date_id,
                     product_id
            FROM   fact_stats
            WHERE  date_id <= 1000) f
      JOIN dim_store s
      ON f.store_id = s.store_id
      WHERE s.country IN ('US', 'NL')
      

      Attachments

        Activity

          People

            wankun Wan Kun
            yumwang Yuming Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: