Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Preserve physical leaf identity for duplicate primitive root paths

Aperta
#3,795 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Start with the proposed owner test, TestDuplicateRootIdentity, and run the 112 targeted tests on JDK 17 with the required upstream modules. Trace footer column conversion and page/index selection by physical ordinal, then cover the listed duplicate-root, malformed metadata, projection, and deferred-key cases. Done means the targeted tests pass while preserving first-root identity without broadening the stated scope.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

Duplicate primitive root names can lose physical column identity when converting the footer and selecting pages/indexes. Name-path lookup can assign the later root's primitive type to an earlier physical column, while path-keyed page/index storage can replace an earlier chunk with a later one.

Original consumer report and standalone Rust fixture plus Spark reproduction: https://github.com/apache/datafusion-comet/issues/5964. Its Spark 4.1.3 vectorized, separate single-field-ID reads over INT64/id1 followed by INT32/id2 produce an anomalous zero. That report is not a claim of general duplicate-name support or a proposed requirement to reproduce the zero.

Proposed bounded fix

Associate footer column metadata with schema leaves by physical ordinal and validate available path/type and column count before using them. For duplicate primitive root paths, preserve the first selected page chunk and its matching column index. Keep column-key decryption lazy. Nested duplicate resolution, encrypted duplicate reads, simultaneous aliases, and nonvectorized consumer duplicate reads are outside this proposal.

Reproduction in the proposed owner test

TestDuplicateRootIdentity writes normal Parquet pages, then renames the second physical root in the Thrift footer to match the first. It deliberately gives the two roots different physical types and page layouts. Tests check first-root index selection, partial-row-group reads filtered on another column, nested nonduplicate ordinal controls, malformed column counts/path/types, empty projections, and deferred key retrieval. No external binary fixture is required.

The proposed port targets current master, not the older 1.16.0 release used during initial consumer investigation. The owner module and required upstream modules have been built on JDK 17 with Thrift 0.24.0; 112 targeted tests pass. Full reactor suites remain unrun.

Lingua principale
Java
Stelle
3.1k
Fork
1.6k
Merge medio
6g 16h
PR unite (30g)
36

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/parquet-java

Tutte le issue di apache/parquet-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.