Skip to main content

Module nested_struct

Module nested_struct 

Source

Functions§

cast_column
Cast a column to match the target field type, with special handling for nested structs.
has_one_of_more_common_fields
Check if two field lists have at least one common field by name.
requires_nested_struct_cast
Returns true if casting from source_type to target_type requires name-based nested struct casting logic, rather than Arrow’s standard cast.
validate_data_type_compatibility
Validates that source_type can be cast to target_type, recursively handling container types that wrap structs.
validate_struct_compatibility
Validates compatibility between source and target struct fields for casting operations.