andygrove opened a new issue, #810:
URL: https://github.com/apache/datafusion-comet/issues/810

   ### What is the problem the feature request solves?
   
   Comet currently performances poorly with the following query when broadcast 
hash joins are disabled and when Comet native shuffle is disabled.
   
   ```sql
   select ss_sold_date_sk, ss_sold_time_sk, ss_quantity, d_year, d_moy, d_dom
   from date_dim join store_sales on d_date_sk = ss_sold_date_sk
   where d_year = 2000;
   ```
   
   Benchmark results (running aginst sf=100 dataset):
   
   ```
   AMD Ryzen 9 7950X3D 16-Core Processor
   TPCDS Micro Benchmarks:                   Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
   
------------------------------------------------------------------------------------------------------------------------
   join_inner                                          512            537       
   35        562.4           1.8       1.0X
   join_inner: Comet (Scan)                            738            750       
   13        390.3           2.6       0.7X
   join_inner: Comet (Scan, Exec)                     4564           4724       
  226         63.1          15.8       0.1X
   ```
   
   Sample native plan with metrics:
   
   ```
   FilterExec: col_0@0 IS NOT NULL AND BloomFilterMightContain 
[bloom_filter_expr: Subquery [id: 2851], value_expr: xxhash64(col_0@0, 42)], 
metrics=[output_rows=605440, elapsed_compute=85.205965ms]
     ScanExec: source=[CometScan parquet spark_catalog.default.store_sales 
(unknown)], schema=[col_0: Int32, col_1: Int32, col_2: Int32], 
metrics=[output_rows=3145728, elapsed_compute=19.12706ms]
   ```
   
   
   ### Describe the potential solution
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to