This is an automated email from the ASF dual-hosted git repository.
csy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git
The following commit(s) were added to refs/heads/master by this push:
new d1eaef14 [typo] fix typo in `cast.rs` (#1273)
d1eaef14 is described below
commit d1eaef148a58ac027e61faa1ebb28126f346a016
Author: bkhan <[email protected]>
AuthorDate: Sat Sep 6 20:03:35 2025 +0800
[typo] fix typo in `cast.rs` (#1273)
---
native-engine/datafusion-ext-commons/src/arrow/cast.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/native-engine/datafusion-ext-commons/src/arrow/cast.rs
b/native-engine/datafusion-ext-commons/src/arrow/cast.rs
index e3e7e494..9f92c570 100644
--- a/native-engine/datafusion-ext-commons/src/arrow/cast.rs
+++ b/native-engine/datafusion-ext-commons/src/arrow/cast.rs
@@ -312,7 +312,7 @@ fn to_integer<T: Bounded + FromPrimitive + Integer + Signed
+ Copy>(input: &str)
offset += 1;
if b == separator {
// We allow decimals and will return a truncated integral in that
case.
- // Therefore we won't throw an exception here (checking the
fractional
+ // Therefore, we won't throw an exception here (checking the
fractional
// part happens below.)
break;
}
@@ -342,7 +342,7 @@ fn to_integer<T: Bounded + FromPrimitive + Integer + Signed
+ Copy>(input: &str)
// This is the case when we've encountered a decimal separator. The
fractional
// part will not change the number, but we will verify that the fractional
part
- // is well formed.
+ // is well-formed.
while offset < bytes.len() {
let current_byte = bytes[offset];
if !current_byte.is_ascii_digit() {