Function datafusion_physical_expr::intervals::utils::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 Operators 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.