check_support

Function check_support 

Source
pub fn check_support(expr: &Arc<dyn PhysicalExpr>, schema: &SchemaRef) -> bool
Expand description

Indicates whether interval arithmetic is supported for the given expression. Currently, we do not support all PhysicalExprs for interval calculations. We do not support every type of [Operator]s either. Over time, this check will relax as more types of PhysicalExprs and Operators are supported. Currently, CastExpr, NegativeExpr, BinaryExpr, Column and Literal are supported.