Write Primitives insert_select_union
Write Primitives benchmark · all Write Primitives queries
Representative SQL
Rendered for DataFusion with default parameters.
DELETE FROM insert_ops_ordersWHERE o_orderkey BETWEEN 1 AND 50;INSERT INTO insert_ops_ordersSELECT *FROM ordersWHERE o_orderkey BETWEEN 1 AND 25UNION ALLSELECT *FROM ordersWHERE o_orderkey BETWEEN 26 AND 50Representative 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 factorqueries = bench.get_queries(dialect="datafusion") # your platform's dialect; drop dialect= for native SQLprint(queries['insert_select_union'])Source
Query text: benchbox/core/write_primitives/operations.py