[go: nahoru, domu]

Skip to content
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

Arrow returns undefined as values when reading from a large arrow file #54

Open
denisgursky opened this issue Sep 19, 2022 · 1 comment
Labels

Comments

@denisgursky
Copy link
Contributor

./file.arrow has about 235M rows. The file size is 3.77GB.

const fs = require("fs");
const { tableFromIPC, RecordBatchReader } = require("apache-arrow");

const filePath = "./file.arrow";

const stream = fs.createReadStream(filePath);
const reader = RecordBatchReader.from(stream);

(async function () {
  const table = await tableFromIPC(reader);

  // /Int64/Float64
  console.log("rows num", table.numRows);
  console.log("first row", table.get(0).toArray());
})();

table.get(0).toArray()

returns [undefined, undefined]

@denisgursky denisgursky added the type:bug Something isn't working label Sep 19, 2022
@billscheidel-rai
Copy link

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-6936.

This link is only accessible to employees of RelationalAI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants