Skip to content

Make UnionArrays hashable #18717

@friendlymatthew

Description

@friendlymatthew

Is your feature request related to a problem or challenge?

Hashing union types currently fall through to the unsupported data type error, which means group by, distinct, hash joins, and aggregations all fail on union-typed columns

At work, we interact with a lot of JSON and accessing data with -> returns Union types, since JSON values can be any type. Without hash support, we're forced to use ->> which coerces everything to strings, losing type fidelity and perf

I'm working my way up from arrow, which lays the ground work for this feature

cc @alamb @paddyhoran @tobixdev

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions