costas-db opened a new issue, #3829: URL: https://github.com/apache/parquet-java/issues/3829
### Problem `ParquetFileWriter.appendRowGroup` indexes source column chunks by `ColumnPath.toDotString()`. These distinct component paths therefore collide: ```text Top-level field named `a.b`: ["a.b"] Nested field `b` in `a`: ["a", "b"] ``` The second chunk overwrites the first under the shared `"a.b"` key. ### Reproduction A generic test writes both string columns and appends the resulting row group into a new file. Current behavior fails with: ```text IllegalArgumentException: Missing column `a.b`, cannot copy row group ``` ### Proposed direction Key the source-column map by component-based `ColumnPath` rather than flattened strings. This changes only in-memory lookup identity and does not alter the Parquet format. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
