apache / apache/arrow-js

[JS] version-independent check that a table is an arrow table

Open
#56 2 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
TypeScript
Stars
112
Forks
23
Avg merge
21h 18m
Merged PRs (30d)
8

Description

### Describe the enhancement requested

Internally we check whether an object is an arrow table with `instanceof` which doesn't work if the table was created from another version of the library. This comes up quite often (e.g. https://github.com/vega/vega-loader-arrow/issues/350) so I propose adding a method to check such as `arrow.isTable` that works across arrow versions. The method should throw a warning when the table was created from a different arrow version (indicating multiple copies).

### Component(s)

JavaScript

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.