Skip to content

Commit 2ae09b3

Browse files
committed
fix comment
Signed-off-by: Jay Zhan <[email protected]>
1 parent 908f610 commit 2ae09b3

File tree

1 file changed

+1
-2
lines changed
  • datafusion/expr-common/src/type_coercion

1 file changed

+1
-2
lines changed

datafusion/expr-common/src/type_coercion/binary.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,7 @@ impl From<&DataType> for TypeCategory {
330330
return TypeCategory::Array;
331331
}
332332

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

0 commit comments

Comments
 (0)