Skip to content

Write Primitives insert_single_row

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_lineitem
VALUES
(
9000001,
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',
'test insert'
)

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 factor
print(bench.get_queries()['insert_single_row'])

Source

Query text: benchbox/core/write_primitives/operations.py