Skip to content

Write Primitives ddl_alter_table_drop_column

Write Primitives benchmark · all Write Primitives queries

Representative SQL

Rendered for DataFusion with default parameters.

CREATE TABLE test_drop_col (
id INT,
name TEXT,
temp_col TEXT
);
ALTER TABLE test_drop_col
DROP COLUMN temp_col

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
queries = bench.get_queries(dialect="datafusion") # your platform's dialect; drop dialect= for native SQL
print(queries['ddl_alter_table_drop_column'])

Source

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