Skip to content

fread: invalid estimation of DT size for small files #2518

@st-pasha

Description

@st-pasha
> data.table::fread("A\n100\n200", verbose=T)
...
  All rows were sampled since file is small so we know nrow=3 exactly
...

In fact, nrow=2 exactly. The header row is mistakenly counted with the data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions