Rdatatable / Rdatatable/data.table

[R-Forge #4649] fread files with more than 4 billion rows

Open
#570 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request fread longvec
Dominant language
R
Stars
3.9k
Forks
1.1k
Avg merge
14h 4m
Merged PRs (30d)
4

Description

Submitted by: Roby Joehanes; Assigned to: Nobody; R-Forge link

I have a huge table with 4+ billion rows. fread has an integer overflow problem and only read about 73M rows.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the fread implementation and the R-Forge report linked in the issue, then trace how row counts are represented while reading a file. Reproduce the behavior with a table exceeding 4 billion rows and confirm that fread returns the complete row count without integer overflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.