-
Notifications
You must be signed in to change notification settings - Fork 978
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
colClasses=integer no longer working in fread #2251
Comments
I just ran into this today with the Aug 15, 2017 build. FWIW, I am not sure why there are 2 int32 types listed below. The output is from a test I was running to try and replicate the error on a non-proprietary dataset. But since this issue is already here, I will just pass this along.
|
I got the same issue today.
|
@st-pasha, it seems it is not just integers. I just got this error:
|
@aadler No, what you're describing is a different situation. If a column was detected as |
Yes, @st-pasha, you're right. Buried deep in the hundreds of millions of rows, sometimes the value is captured as a letter (don't ask why). Also, when I changed my colClass from "integer" to "int32", then the dev version of data.table read the file just fine (and in 7 minutes as opposed to 20). I don't think that "int32" is a valid R variable type, though, |
Fixed in e79d63b |
@aadler Thanks for your testing and input on this one. Should be fixed now.
Just to check you saw that fread in dev now automatically rereads such out-of-sample type exceptions. I've just updated |
The text was updated successfully, but these errors were encountered: