YinZheng-Sun opened a new pull request, #1197:
URL: https://github.com/apache/iceberg-cpp/pull/1197

   Parquet files with a stored Arrow schema can return `large_string` even for 
short UTF-8 values. Opening such a file currently fails when the Iceberg 
projection expects `string`.
   
   This change accepts `large_string` and preserves each projected string 
field’s offset width in the Arrow schema and record batches, including nested 
and renamed fields. Scan tasks use the file reader’s Arrow schema when 
filtering rows so the filter reads the correct offsets and the result keeps its 
64-bit layout.
   
   Regression tests cover mixed `string` and `large_string` columns, nulls, 
empty strings, multibyte text, nested list elements, projection by field ID, 
and a residual filter on a large string column.
   
   With Arrow 25.0.0, all 631 tests in `parquet_test`, `arrow_test`, and 
`data_test` passed. `pre-commit run --all-files` also passed.
   
   Codex assisted with the implementation and regression tests.


-- 
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]

Reply via email to