Write Primitives ddl_create_table_with_constraints
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 test_constrained ( id INT PRIMARY KEY, name VARCHAR(100) NOT NULL, value DECIMAL(15, 2) NOT NULL, created DATE NOT NULL, status VARCHAR(10))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()['ddl_create_table_with_constraints'])Source
Query text: benchbox/core/write_primitives/operations.py