You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2023/08/04 05:52:00 UTC
[jira] [Resolved] (FLINK-29527) Make unknownFieldsIndices work for single ParquetReader
[ https://issues.apache.org/jira/browse/FLINK-29527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zili Chen resolved FLINK-29527.
-------------------------------
Resolution: Fixed
master via 50622df1f01cd9cade78bfe2add5a7faff678e3e
Shall we pick to other version? It seems somehow a feature catch up or fix.
> Make unknownFieldsIndices work for single ParquetReader
> -------------------------------------------------------
>
> Key: FLINK-29527
> URL: https://issues.apache.org/jira/browse/FLINK-29527
> Project: Flink
> Issue Type: Bug
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Affects Versions: 1.16.0
> Reporter: Sun Shun
> Assignee: Sun Shun
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.19.0
>
>
> Currently, from the improvement FLINK-23715, Flink use a collection named `unknownFieldsIndices` to track the nonexistent fields, and it is kept inside the `ParquetVectorizedInputFormat`, and applied to all parquet files under given path.
> However, some fields may only be nonexistent in some of the historical parquet files, while exist in latest ones. And based on `unknownFieldsIndices`, flink will always skip these fields, even thought they are existing in the later parquets.
> As a result, the value of these fields will become empty when they are nonexistent in some historical parquet files.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)