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
{{ message }}
Repository navigation
Weird inconsitency between sort order, gForce (I think), and lots of by categories in 1.14.3 #5326
I don't totally understand whats going on, but it seems that sort order is affecting the by calculation (sum, which I assume is being gforce optimized). Also, it seems like the answers might just be wrong (e.g. there should only be one unique value per id2).
Switching to 1.14.2 (via install.packages) makes the tests behave as expected. Also, options(datatable.optimize = 0L) in 1.14.3 seems to address things.
Activity
MichaelChirico commentedon Feb 4, 2022
are you able to easily test this code on other versions of data.table (e.g. latest CRAN)?
dcaseykc commentedon Feb 4, 2022
Switching to 1.14.2 (via
install.packages) makes the tests behave as expected. Also,options(datatable.optimize = 0L)in 1.14.3 seems to address things.MichaelChirico commentedon Feb 4, 2022
@ben-schwen am I right that you've worked on gsum recently? could you PTAL?
dcaseykc commentedon Feb 4, 2022
Just a note: I think the weirdness also shows up with other gforce optimized functions.
ben-schwen commentedon Feb 4, 2022
This is #5307 in disguise. I'm still trying to figure out how to fix #5307 in all its extents without needing a 2nd
fordercall.@mattdowle It's probably best to reset c3df3bc until all the sorting issues are sorted out. Sorry for the inconvenience.
added test from #5326