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 PhysicalExpr
s for interval calculations.
We do not support every type of Operator
s either. Over time, this check
will relax as more types of PhysicalExpr
s and Operator
s are supported.
Currently, CastExpr
, NegativeExpr
, BinaryExpr
, Column
and Literal
are supported.