Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I'm trying to create load an arrow file in IPC format.
First, I load the library
import
{ Table }from "@apache-arrow/es2015-esm";
Then, I fetch the file and convert it to the buffer (it would be nice if this wasn't necessary)
fetch(require("../data/flights-10k.arrow")).then(response => {
response.blob().then(blob => {
let arrayBuffer;
const fileReader = new FileReader();
fileReader.onload = function()
;
fileReader.readAsArrayBuffer(blob);
});
});
Now I get the error "Uncaught TypeError: Cannot read property 'fields' of undefined"