Skip to content

Fix failure from reading parquet column index for INT96#19878

Merged
raunaqmorarka merged 1 commit intotrinodb:masterfrom
raunaqmorarka:pqr-ci-fix
Nov 24, 2023
Merged

Fix failure from reading parquet column index for INT96#19878
raunaqmorarka merged 1 commit intotrinodb:masterfrom
raunaqmorarka:pqr-ci-fix

Conversation

@raunaqmorarka
Copy link
Copy Markdown
Member

Description

org.apache.parquet.format.converter.ParquetMetadataConverter#fromParquetColumnIndex
returns null if the parquet primitive type for a column does not support min/max stats.
Fixed query failure by avoiding reading column index for such cases.

Additional context and related issues

Fixes #16801

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# Hive, Hudi, Delta, Iceberg
* Fix query failure when reading parquet column index for timestamp columns. ({issue}`16801`)

org.apache.parquet.format.converter.ParquetMetadataConverter#fromParquetColumnIndex
returns null if the parquet primitive type for a column does not support min/max stats.
Fixed query failure by avoiding reading column index for such cases.
@raunaqmorarka raunaqmorarka merged commit 08baad3 into trinodb:master Nov 24, 2023
@raunaqmorarka raunaqmorarka deleted the pqr-ci-fix branch November 24, 2023 10:32
@github-actions github-actions bot added this to the 434 milestone Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed hive Hive connector

Development

Successfully merging this pull request may close these issues.

Query failure when reading parquet column index for INT96 column

3 participants