Skip to content

Commit aac9fc6

Browse files
committed
refactor_boolean_cast_ops_add_benchmarks_rebase_main
1 parent b9d75d5 commit aac9fc6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

native/spark-expr/src/conversion_funcs/boolean.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub fn can_cast_from_boolean(to_type: &DataType) -> bool {
2828
)
2929
}
3030

31-
// only incompatible boolean cast
31+
// only DF incompatible boolean cast
3232
pub fn cast_boolean_to_decimal(
3333
array: &ArrayRef,
3434
precision: u8,

native/spark-expr/src/conversion_funcs/cast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ fn dict_from_values<K: ArrowDictionaryKeyType>(
754754
Ok(Arc::new(dict_array))
755755
}
756756

757-
pub fn cast_array(
757+
pub(crate) fn cast_array(
758758
array: ArrayRef,
759759
to_type: &DataType,
760760
cast_options: &SparkCastOptions,

0 commit comments

Comments
 (0)