Skip to content

Write Primitives ddl_create_table_as_select_simple

Write Primitives benchmark · all Write Primitives queries

Representative SQL

Rendered in the benchmark’s native SQL with default parameters (no dialect translation available).

CREATE TABLE orders_1995 AS
SELECT
*
FROM orders
WHERE
o_orderdate >= CAST('1995-01-01' AS DATE)
AND o_orderdate < CAST('1996-01-01' AS DATE)

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()['ddl_create_table_as_select_simple'])

Source

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