Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Zhan <[email protected]>
  • Loading branch information
jayzhan211 committed Nov 12, 2024
1 parent 908f610 commit 2ae09b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datafusion/expr-common/src/type_coercion/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,7 @@ impl From<&DataType> for TypeCategory {
return TypeCategory::Array;
}

// String literal is possible to cast to many other types like numeric or datetime,
// therefore, it is categorized as a unknown type
// It is categorized as unknown type because the type will be resolved later on
if matches!(
data_type,
DataType::Utf8
Expand Down

0 comments on commit 2ae09b3

Please sign in to comment.