Sealdot opened a new pull request, #558:
URL: https://github.com/apache/arrow-js/pull/558

   Closes #538.
   
   A file with two full dictionary batches for the same ID could silently 
change a column from `["a", "b", "c"]` to `["c", null, null]`. The synchronous 
and asynchronous file readers now track the IDs of full dictionary batches in 
the file footer. A duplicate closes the partially opened reader and raises an 
error with the dictionary ID before its body is read.
   
   The regression tests cover bytes, a Node file handle, and a valid file with 
multiple dictionary IDs and a prepopulated dictionary map. An independent 
wire-level comparison changed a single flag byte and reproduced the original 
wrong values through both entry points. File deltas and stream dictionary 
replacements still round-trip their original values. [IPC file 
format](https://arrow.apache.org/docs/format/Columnar.html#ipc-file-format)
   
   All 2,824 IPC tests across 18 suites passed, along with the ESNext ESM 
source typecheck and ESLint on the two changed files. The full local Jest run 
reached its 640 MiB Node heap limit. With the local test dependencies, the 
optional test-source typecheck produced the same diagnostics on the base and 
this change.
   
   OpenAI Codex (GPT-6) assisted with the implementation, tests and wire-level 
comparison.
   


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

Reply via email to