Skip to content

Conversation

@AmanKashyap0807
Copy link

closes #3611

Overview

PR addresses issue #3611 by adding a notification when fread() automatically creates interger64 columns.

Changes

  • fread.R : added a check to identify if any columns were read as integer64, if detected a message is emitted.
  • tests.Rraw : added new tests (1017.5 and 1017.6) to verify the message emitted.
    updated existing tests that use integer64 data to suppress this new message where it is not the focus of the test
  • NEWS.md : added an entry under big fixes.

Reproduction

issue #3611

env : windows 11, R 4.5.2, data.table 1.18.2.1 (installed from CRAN)

Screenshot 2026-02-08 221821 Screenshot 2026-02-08 221855

fread() automatically creats interger64 columns when reading large instegers but does not emit any warning or message.


I also reproduced the same behavior using the current github codebase (by compiliing data.table from source) , the behavious is identical
Screenshot 2026-02-09 051425

Screenshot 2026-02-09 050413

@AmanKashyap0807
Copy link
Author

Hi mentors,

This is my test contribution for the data.table gsoc project.
I would appreciate your feedback

If there is any issue you would prefer me to work on next, I would be happy to take it up.
In the meantime, I’m exploring another issue to continue learning the codebase.

@tdhock @Anirban166 @DorisAmoakohene @joshhwuu

@joshhwuu
Copy link
Member

joshhwuu commented Feb 9, 2026

it seems that we might be holding off on a fix for this on data.table's side, at least for now: #3611 (comment)

@AmanKashyap0807
Copy link
Author

Thanks for the clarification @joshhwuu

Thanks for taking a look, and please let me know if there’s another issue or area where a contribution would be more helpful at the moment.

I’ll keep this branch as it is in case it’s useful to revisit later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add general warning to fread for integer64 columns

2 participants