-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
The JS implementation crashes when reading the dictionary test case from the integration tests.
To replicate, first generate the test files with java and cpp impls:
$ cd ${ARROW_HOME}/integration/
$ python -c 'from integration_test import generate_dictionary_case; generate_dictionary_case().write("dictionary.json")'
$ ../cpp/debug/debug/json-integration-test --integration --json=dictionary.json --arrow=dictionary-cpp.arrow --mode=JSON_TO_ARROW
$ java -cp ../java/tools/target/arrow-tools-0.8.0-SNAPSHOT-jar-with-dependencies.jar org.apache.arrow.tools.Integration -c JSON_TO_ARROW -a dictionary-java.arrow -j dictionary.jsonAttempt to read the files with the JS impl:
$ cd ${ARROW_HOME}/js/
$ ./bin/arrow2csv.js -s dict1_0 -f ../integration/dictionary-{java,cpp}.arrowBoth files result in an error for me on a8f51858:
TypeError: Cannot read property 'buffer' of undefined
Reporter: Brian Hulette / @TheNeuralBit
Assignee: Paul Taylor / @trxcllnt
Related issues:
- [JS] JavaScript integration tests (blocks)
- [JS] File reader attempts to load the same dictionary batch more than once (incorporates)
- [Format/C++/Java] Remove VectorLayout metadata from Flatbuffers metadata (is related to)
Original Issue Attachments:
PRs and other links:
Note: This issue was originally created as ARROW-1693. Please see the migration documentation for further details.