We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc3667e commit fdcb31dCopy full SHA for fdcb31d
datafusion/functions/src/core/arrow_cast.rs
@@ -155,7 +155,6 @@ impl ScalarUDFImpl for ArrowCastFunc {
155
let arg = args.pop().unwrap();
156
157
let source_type = info.get_data_type(&arg)?;
158
- // TODO: check type equality for real
159
let new_expr = if source_type == target_type {
160
// the argument's data type is already the correct type
161
arg
0 commit comments