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
ConstantFolding in datafusion::optimizer::constant_folding - Rust
[go: Go Back, main page]

Struct datafusion::optimizer::constant_folding::ConstantFolding[][src]

pub struct ConstantFolding {}
Expand description

Simplifies plans by rewriting Expr`s evaluating constants and applying algebraic simplifications

Example transformations that are applied:

  • expr = true and expr != false to expr when expr is of boolean type
  • expr = false and expr != true to !expr when expr is of boolean type
  • true = true and false = false to true
  • false = true and true = false to false
  • !!expr to expr
  • expr = null and expr != null to null

Implementations

Trait Implementations

Rewrite plan to an optimized form

A human readable name for this optimizer rule

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.