Commits


František Nečas authored and GitHub committed befcc90defc
GH-21815: [JS] Add support for Duration type (#37341) ### Rationale for this change The `Duration` type is currently not supported and trying to deserialize a Table containing the type (e.g. using `tableFromIPC`) fails with `Unrecognized type` error. This PR aims to fix that. ### What changes are included in this PR? - definition of the `Duration` data type - updates to the visitor classes so that things like parsing work correctly - test coverage for the type - documentation update ### Are these changes tested? Yes, I extended the data generator with the new type so that the type is tested by the existing tests. ### Are there any user-facing changes? Yes, I've updated the documentation status page. I also noticed that it was outdated for JavaScript, i.e. there is already support for `Decimal` type so I updated this as well. Closes: https://github.com/apache/arrow/issues/21815 Closes: https://github.com/apache/arrow/issues/35439 * Closes: #21815 Lead-authored-by: František Necas <frantisek.necas@protonmail.com> Co-authored-by: ptaylor <paul.e.taylor@me.com> Signed-off-by: Dominik Moritz <domoritz@gmail.com>