Module binary

Module binary 

Source

Modulesยง

kernels ๐Ÿ”’
This module contains computation kernels that are specific to datafusion and not (yet) targeted to port upstream to arrow

Structsยง

BinaryExpr
Binary expression

Enumsยง

ShortCircuitStrategy ๐Ÿ”’

Constantsยง

PRE_SELECTION_THRESHOLD ๐Ÿ”’
Based on the results calculated from the left side of the short-circuit operation, if the proportion of true is less than 0.2 and the current operation is an and, the RecordBatch will be filtered in advance.

Functionsยง

binary
Create a binary expression whose arguments are correctly coerced. This function errors if it is not possible to coerce the arguments to computational types supported by the operator.
boolean_op ๐Ÿ”’
Invoke a boolean kernel on a pair of arrays
check_short_circuit ๐Ÿ”’
Checks if a logical operator (AND/OR) can short-circuit evaluation based on the left-hand side (lhs) result.
concat_elements ๐Ÿ”’
pre_selection_scatter ๐Ÿ”’
Creates a new boolean array based on the evaluation of the right expression, but only for positions where the left_result is true.
similar_to
Create a similar to expression
to_result_type_array ๐Ÿ”’
Casts dictionary array to result type for binary numerical operators. Such operators between array and scalar produce a dictionary array other than primitive array of the same operators between array and array. This leads to inconsistent result types causing errors in the following query execution. For such operators between array and scalar, we cast the dictionary array to primitive array.