Closed xhdong-umd closed 6 years ago
@xhdong-umd Is there any way to avoid these new fread
warning messages if they are not necessary?
We can suppress the warnings. I didn't do it in the beginning because sometimes there could be some warning messages relate to column formats.
For example data.table
try to guess the column data type from a sample of rows, if there is some special row conflict with the guessed data type, there will be warnings.
I think this can be helpful sometimes, but I agree this warning caused by zip is confusing when the behavior is running as expected. However I can't think of a simple way to separate the confusing warning (caused by zip in our case) from the other possible helpful warning, we can only turn all of them off.
I made a commit to suppress warning here if you think it's OK to turn them all off.
I found the newer version of
data.table
changed behavior when usingfread
on a zip.Previously it will throw error, now it will generate warning but still return an empty data.frame. Thus the error condition check need to be updated to reflect the change. The change should also work with previous version of data.table.