Write Primitives update_computed_column
Write Primitives benchmark · all Write Primitives queries
Representative SQL
Rendered for DataFusion with default parameters.
UPDATE update_ops_orders SET o_totalprice = o_totalprice * 1.1 + 50.0 - ( o_totalprice * 0.02), o_comment = 'computed_update'WHERE o_orderkey BETWEEN ( SELECT MIN(o_orderkey) FROM update_ops_orders ) AND ( SELECT MIN(o_orderkey) + 50 FROM update_ops_orders )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 factorqueries = bench.get_queries(dialect="datafusion") # your platform's dialect; drop dialect= for native SQLprint(queries['update_computed_column'])Source
Query text: benchbox/core/write_primitives/operations.py