comphead commented on code in PR #18869:
URL: https://github.com/apache/datafusion/pull/18869#discussion_r2558347202
##########
datafusion/expr/src/expr_schema.rs:
##########
@@ -58,6 +58,10 @@ pub trait ExprSchemable {
fn cast_to(self, cast_to_type: &DataType, schema: &dyn ExprSchema) ->
Result<Expr>;
/// Given a schema, return the type and nullability of the expr
+ #[deprecated(
+ since = "51.0.0",
+ note = "Use `to_field().1.is_nullable` and `to_field().1.data_type()`
directly instead"
Review Comment:
probably we can name params in future to get more meaning for `to_field().1`
--
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]