You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
# Eliminate positional fallback in struct casting #19841
Currently, DataFusion's struct casting includes a positional fallback mechanism that allows casting between structs with completely different field names if the field counts match. This violates DuckDB's semantics and can silently corrupt data.
Example of problematic behavior:
// This currently succeeds but should fail
source:struct<left int, right varchar>
target:struct<alpha int, beta varchar>
// Positional fallback causes:// left → alpha, right → beta// Despite zero matching field names!
Activity
Disallow positional struct casting when field names don’t overlap (#1…
Disallow positional struct casting when field names don’t overlap (ap…