Skip to content

HIVE-29432: Autogather column statistics missing for tables containing a column with an unsupported type#6374

Draft
thomasrebele wants to merge 1 commit intoapache:masterfrom
thomasrebele:tr/HIVE-29432
Draft

HIVE-29432: Autogather column statistics missing for tables containing a column with an unsupported type#6374
thomasrebele wants to merge 1 commit intoapache:masterfrom
thomasrebele:tr/HIVE-29432

Conversation

@thomasrebele
Copy link
Contributor

@thomasrebele thomasrebele commented Mar 17, 2026

HIVE-29432

What changes were proposed in this pull request?

When the column statistics are calculated, skip the columns with unsupported types, but calculate the statistics for all supported types.

Why are the changes needed?

If a table contains a column of certain types (union, struct, list, but also TIMESTAMP WITH LOCAL TIME ZONE), then no column statistics are gathered.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

I've added a q file test.

@sonarqubecloud
Copy link

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants