You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User would expect a numeric close column in dt but unfortunately there's none but dt2 will capture close function silently and make that column a list of the same close functions.
Then replacing the close columns with a numeric column in another data.table will cause crash:
*** caught segfault ***
address 0x6, cause 'memory not mapped'
Traceback:
1: `[.data.table`(dt2, dt3, `:=`(close, price), on = .(id))
2: dt2[dt3, `:=`(close, price), on = .(id)]
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
This crash seems to only happen on Linux but not macOS as I tried on both platforms. Not sure if crashes on Windows.
If it does not crash, the outcome might be unexpected for many users:
Consider the following minimal example:
User would expect a numeric
close
column indt
but unfortunately there's none butdt2
will captureclose
function silently and make that column a list of the sameclose
functions.Then replacing the
close
columns with a numeric column in another data.table will cause crash:This crash seems to only happen on Linux but not macOS as I tried on both platforms. Not sure if crashes on Windows.
If it does not crash, the outcome might be unexpected for many users:
The text was updated successfully, but these errors were encountered: