TPC-DS-OBT Q96
TPC-DS-OBT benchmark · all TPC-DS-OBT queries
Representative SQL
Rendered for DataFusion with default parameters.
SELECT COUNT(*)FROM tpcds_sales_returns_obt AS obtWHERE ( sold_time_sk = sold_time_t_time_sk AND ship_hdemo_sk = bill_hdemo_hd_demo_sk AND store_sk = store_s_store_sk AND sold_time_t_hour = 20 AND sold_time_t_minute >= 30 AND bill_hdemo_hd_dep_count = 0 AND store_s_store_name = 'ese' ) AND channel = 'store'ORDER BY COUNT(*)LIMIT 100Representative DataFrame
No DataFrame implementation is registered for this query.
Get the exact query for your run
The blocks above are representative. To get the precise statement a specific platform runs at a specific scale, substitute your own values:
from benchbox import TPCDSOBT
bench = TPCDSOBT(scale_factor=1.0) # your scale factorqueries = bench.get_queries(dialect="datafusion") # your platform's dialect; drop dialect= for native SQLprint(queries['96'])Source
Query text: benchbox/core/tpcds_obt/queries.py