paleolimbot commented on code in PR #23169:
URL: https://github.com/apache/datafusion/pull/23169#discussion_r3509326046
##########
datafusion/physical-expr-adapter/src/rewrite.rs:
##########
@@ -102,7 +102,7 @@ pub fn rewrite_file_row_index_expr(
rewrite_scalar_udf::<FileRowIndexFunc, _>(expr, |_| {
let source = Arc::new(Column::new(row_index_name, row_index_idx));
let target_field = Arc::new(Field::new("file_row_index",
DataType::Int64, true));
- Ok(Arc::new(CastExpr::new_with_target_field(
+ Ok(Arc::new(CastExpr::new_with_exact_target_field(
Review Comment:
The physical cast changes let me remove this function and this change
dissappeared
--
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]