-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JS] Implement Duration type, integration test support for Interval and Duration types #21815
Comments
Wes McKinney / @wesm: |
Denis Gursky: https://github.com/apache/arrow/blob/master/js/src/fb/duration.ts But tableFromIPC throws: 'Unrecognized type: "Duration" (18)'
|
Lukas Masuch: Not sure if this is intentional, a bug, or just not implemented yet? |
Todd Farmer / @toddfarmer: |
### 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: #21815 Closes: #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>
### 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: apache#21815 Closes: apache#35439 * Closes: apache#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>
### 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: apache#21815 Closes: apache#35439 * Closes: apache#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>
### 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: apache#21815 Closes: apache#35439 * Closes: apache#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>
### 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: apache#21815 Closes: apache#35439 * Closes: apache#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>
Follow on work to ARROW-835
Reporter: Wes McKinney / @wesm
Note: This issue was originally created as ARROW-5356. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: