charlesdong1991 opened a new issue, #2143: URL: https://github.com/apache/iceberg-rust/issues/2143
### Is your feature request related to a problem or challenge? In DataFusion, `isnan()` is represented as a scalar function (`Expr::ScalarFunction`) rather than a dedicated `Expr` variant (unlike `IsNull` / `IsNotNull`). Negation (`NOT isnan(col)`) is handled automatically: the existing `Expr::Not` arm wraps the result in `Predicate::Not(...)`, and Iceberg's downstream `rewrite_not` visitor normalizes it into `Predicate::Unary(NotNan, col)`. ### Describe the solution you'd like Introduces a new `scalar_function_to_iceberg_predicate` helper in `expr_to_predicate.rs` that matches scalar functions by name at runtime and converts `isnan(col)` into `Predicate::Unary(IsNan, col)`. ### Willingness to contribute I can contribute to this feature independently -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
