fn plan_cast(
ecx: &ExprContext<'_>,
expr: &Expr<Aug>,
data_type: &ResolvedDataType,
failure_mode: CastFailureMode,
) -> Result<CoercibleScalarExpr, PlanError>Expand description
Plans CAST(expr AS data_type) or, under
CastFailureMode::NullFallback, TRY_CAST(expr AS data_type).