Write Primitives insert_returning_clause
Write Primitives benchmark · all Write Primitives queries
Representative SQL
Rendered in the benchmark’s native SQL with default parameters (no dialect translation available).
INSERT INTO insert_ops_lineitemVALUES ( 9000500, 1, 1, 1, 10.0, 1000.0, 0.05, 0.02, 'N', 'O', CAST('1998-01-01' AS DATE), CAST('1998-01-15' AS DATE), CAST('1998-01-20' AS DATE), 'DELIVER IN PERSON', 'TRUCK', 'returning_test' )RETURNING l_orderkey, l_partkey, l_quantityRepresentative 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()['insert_returning_clause'])Source
Query text: benchbox/core/write_primitives/operations.py