Skip to content

Map vs List contains/is_in behavior #29311

Description

@dancsi

In #29296 we uncovered some mismatches between how .contains and .is_in work between Map and List (and Array). I believe that Map handles all of these correctly, List differs in a couple of places due to legacy behavior, but also due to allowing inner nulls.

Investigate all differences here, related to mixed type keys, and keys of the same type but parameterized differently (different int width, float width, temporal resolution, time zone, decimal precision/scale,...)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-dtypeArea: data types in generalA-dtype-list/arrayArea: list/array data typeA-dtype-mapArea: map data typeA-planArea: logical plan and intermediate representationA-typingArea: type checkingbugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions