Write Primitives delete_with_join
Write Primitives benchmark · all Write Primitives queries
Representative SQL
Rendered in the benchmark’s native SQL with default parameters (no dialect translation available).
DELETE FROM delete_ops_ordersWHERE EXISTS( SELECT 1 FROM customer WHERE customer.c_custkey = delete_ops_orders.o_custkey AND customer.c_mktsegment = 'AUTOMOBILE' ) AND delete_ops_orders.o_orderkey <= ( SELECT MIN(o_orderkey) + 20 FROM delete_ops_orders )Representative 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 WritePrimitives
bench = WritePrimitives(scale_factor=0.01) # your scale factorprint(bench.get_queries()['delete_with_join'])Source
Query text: benchbox/core/write_primitives/operations.py