Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion_expr::type_coercion::binary - Rust
[go: Go Back, main page]

Expand description

Coercion rules for matching argument types for binary operators

Functions

  • Returns the coerced type of applying mathematics operations on decimal types. Two sides of the mathematics operation will be coerced to the same type. Note that we don’t coerce the decimal operands in analysis phase, but do it in the execution phase because this is not idempotent.
  • Coerce lhs_type and rhs_type to a common type for the purposes of a comparison operation
  • Returns the output type of applying mathematics operations on two decimal types. The rule is from spark. Note that this is different to the coerced type applied to two sides of the arithmetic operation.
  • Returns the coerced input types for a binary expression evaluating the op with the left and right hand types
  • returns the resulting type of a binary expression evaluating the op with the left and right hand types
  • coercion rules for like operations. This is a union of string coercion rules and dictionary coercion rules
  • coercion rules for regular expression comparison operations. This is a union of string coercion rules and dictionary coercion rules