Module utils

Module utils 

Source

Functions§

evaluate_expressions_to_arrays
Evaluates expressions against a record batch. This will convert the resulting ColumnarValues to ArrayRefs, duplicating any ScalarValues that may have been returned, and validating that the returned arrays all have the same number of rows as the input batch.
evaluate_expressions_to_arrays_with_metrics
Same as evaluate_expressions_to_arrays but records optional per-expression metrics.
scatter
Scatter truthy array by boolean mask. When the mask evaluates true, next values of truthy are taken, when the mask evaluates false values null values are filled.

Type Aliases§

ExprPropertiesNode
Represents a PhysicalExpr node with associated properties (order and range) in a context where properties are tracked.