Module value_coercion

Module value_coercion 

Source
Expand description

Helper functions for value coercion and data preparation used during inserts.

Functions§

build_array_for_column
Build an Arrow array that matches the executor column’s data type from the provided values.
normalize_insert_value_for_column
Coerce a PlanValue into the Arrow data type required by the executor column.
resolve_insert_columns
Resolve the user-specified column list for an INSERT statement into indexes of the executor schema. If no columns were provided, return the identity order.