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
Enforce the uniqueness of map key name for the map/make_map function #11437
/// In this layout, the keys and values are each respectively contiguous. We do
/// not constrain the key and value types, so the application is responsible
/// for ensuring that the keys are hashable and unique. Whether the keys are sorted
/// may be set in the metadata for this field.
MapArray is not responsible for ensuring the uniqueness of keys. Therefore, we should ensure the keys are unique on the application side (DataFusion).
Describe the solution you'd like
We can check the keys are distinct when invoking the map and make_map functions.
Activity
dharanad commentedon Jul 12, 2024
take
Weijun-H commentedon Aug 25, 2024
Hi @dharanad, if you're no longer working on this ticket, I can take over.
dharanad commentedon Aug 25, 2024
Hey, please feel free to take it