sagarlakshmipathy commented on issue #182:
URL: 
https://github.com/apache/arrow-datafusion-comet/issues/182#issuecomment-1987027426

   I checked the query 91 in spark repo and it doesn't look vastly different 
except for some filters in WHERE clause.
   
   
https://github.com/apache/spark/blob/76b1c122cb7d77e8f175b25b935b9296a669d5d8/sql/core/src/test/resources/tpcds/q91.sql
   
   ```
   SELECT
     cc_call_center_id Call_Center,
     cc_name Call_Center_Name,
     cc_manager Manager,
     sum(cr_net_loss) Returns_Loss
   FROM
     call_center, catalog_returns, date_dim, customer, customer_address,
     customer_demographics, household_demographics
   WHERE
     cr_call_center_sk = cc_call_center_sk
       AND cr_returned_date_sk = d_date_sk
       AND cr_returning_customer_sk = c_customer_sk
       AND cd_demo_sk = c_current_cdemo_sk
       AND hd_demo_sk = c_current_hdemo_sk
       AND ca_address_sk = c_current_addr_sk
       AND d_year = 1998
       AND d_moy = 11
       AND ((cd_marital_status = 'M' AND cd_education_status = 'Unknown')
       OR (cd_marital_status = 'W' AND cd_education_status = 'Advanced Degree'))
       AND hd_buy_potential LIKE 'Unknown%'
       AND ca_gmt_offset = -7
   GROUP BY cc_call_center_id, cc_name, cc_manager, cd_marital_status, 
cd_education_status
   ORDER BY sum(cr_net_loss) DESC
   ```
   
   I wonder why comet doesn't like my query though


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to