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

Runtime Filter supports passing equivalent creation side expressions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      SELECT
        d_year,
        i_brand_id,
        i_class_id,
        i_category_id,
        i_manufact_id,
        cs_quantity - COALESCE(cr_return_quantity, 0) AS sales_cnt,
        cs_ext_sales_price - COALESCE(cr_return_amount, 0.0) AS sales_amt
      FROM catalog_sales
        JOIN item ON i_item_sk = cs_item_sk
        JOIN date_dim ON d_date_sk = cs_sold_date_sk
        LEFT JOIN catalog_returns ON (cs_order_number = cr_order_number
          AND cs_item_sk = cr_item_sk)
      WHERE i_category = 'Books'
      

      Attachments

        Activity

          People

            beliefer Jiaan Geng
            beliefer Jiaan Geng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: