This is an automated email from the ASF dual-hosted git repository.
jakevin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new b6e4c82380 Minor: fix typo in comments (#7861)
b6e4c82380 is described below
commit b6e4c8238031ae17373d9ae3be2def4b57645e42
Author: Andrew Lamb <[email protected]>
AuthorDate: Thu Oct 19 02:49:19 2023 -0400
Minor: fix typo in comments (#7861)
---
datafusion/expr/src/built_in_function.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datafusion/expr/src/built_in_function.rs
b/datafusion/expr/src/built_in_function.rs
index fffdf74af3..350067a421 100644
--- a/datafusion/expr/src/built_in_function.rs
+++ b/datafusion/expr/src/built_in_function.rs
@@ -1569,7 +1569,7 @@ macro_rules! make_utf8_to_return_type {
// `utf8_to_str_type`: returns either a Utf8 or LargeUtf8 based on the input
type size.
make_utf8_to_return_type!(utf8_to_str_type, DataType::LargeUtf8,
DataType::Utf8);
-// `utf8_to_str_type`: returns either a Int32 or Int64 based on the input type
size.
+// `utf8_to_int_type`: returns either a Int32 or Int64 based on the input type
size.
make_utf8_to_return_type!(utf8_to_int_type, DataType::Int64, DataType::Int32);
fn utf8_or_binary_to_binary_type(arg_type: &DataType, name: &str) ->
Result<DataType> {