Skip to content

Commit 587248c

Browse files
committed
refactor: change cast_struct_array_by_name visibility to crate
1 parent 597e9d5 commit 587248c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/common/src/nested_struct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub fn cast_column(
206206
///
207207
/// # Errors
208208
/// Returns an error if the source is not a struct array or if field casting fails
209-
pub fn cast_struct_array_by_name(
209+
pub(crate) fn cast_struct_array_by_name(
210210
array: &ArrayRef,
211211
target_fields: &arrow::datatypes::Fields,
212212
cast_options: &CastOptions,

0 commit comments

Comments
 (0)