-
Notifications
You must be signed in to change notification settings - Fork 985
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
rbind/rbindlist don't combine integer64 columns correctly with other types #1349
Comments
The error message is meant for non-basic / derived (not sure how to call it) objects (i.e., date, posixct, etc.) |
So does this mean it throws an error if rbind'ing on columns of dates etc? I use them all the time, so is it best to convert to character before binding, then convert back? |
@kaybenleroll it means it will raise error when rbind'ing integer64 to other class (character, numeric, ...). I prefer to get an error and convert explicitly so anyone who reads my code is aware of that type conversion. |
This issue is still present in the developer version I am using. I am trying to rbindlist a list of data.tables. It turns out one of them had an integer64 column, while others, integer. The code did not produce an error or any alert, but the values in the column were largely messed up. There were tiny double values in place of integers. |
The text was updated successfully, but these errors were encountered: