Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
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.json
Attempt to read the files with the JS impl:
$ cd ${ARROW_HOME}/js/ $ ./bin/arrow2csv.js -s dict1_0 -f ../integration/dictionary-{java,cpp}.arrow
Both files result in an error for me on a8f51858:
TypeError: Cannot read property 'buffer' of undefined
Attachments
Attachments
Issue Links
- blocks
-
ARROW-1501 [JS] JavaScript integration tests
- Resolved
- incorporates
-
ARROW-1698 [JS] File reader attempts to load the same dictionary batch more than once
- Resolved
- is related to
-
ARROW-1785 [Format/C++/Java] Remove VectorLayout metadata from Flatbuffers metadata
- Resolved
- links to