Grivn opened a new pull request, #550: URL: https://github.com/apache/arrow-js/pull/550
## What's Changed Two record batches can reuse their first dictionary chunk and have different values in a later chunk. The IPC writer checked only the first chunk, so reading the second batch could return a value from the first batch. The writer now treats a dictionary as an extension only when all the previous chunks form a prefix. Streams emit a replacement when that prefix changes. Files report the existing unsupported-replacement error. Reusing the same chunk array still skips the scan. Added a regression for both formats. Verified with `npm run build`, `npm test`, `npm run test:bundle` and `npm run lint:ci` on Node 24. PyArrow also read the expected values from seven streams covering dictionary reuse, append, replacement, truncation and reordering. OpenAI Codex (GPT-6) generated the code and tests and ran these checks. Closes #537. -- 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]
