get reordering of columns on reference#4212
Conversation
This also includes slight refactoring to eliminate one *TODO* comment
Codecov Report
@@ Coverage Diff @@
## master #4212 +/- ##
==========================================
+ Coverage 99.61% 99.61% +<.01%
==========================================
Files 72 72
Lines 13874 13904 +30
==========================================
+ Hits 13820 13850 +30
Misses 54 54
Continue to review full report at Codecov.
|
jangorecki
left a comment
There was a problem hiding this comment.
Very nice!
Could we make this warning avoidable? see #3848
|
Thank you both for the great comments. Main changes
|
MichaelChirico
left a comment
There was a problem hiding this comment.
Looks great!
Can you add a test of the new behavior?
|
Quite an involved first time contribution! That part of the code is hard work, thank you. I've invited you to be project member; please accept invitation that shows in your github profile or projects tab. I'll add you to contributor list in a follow up commit. |
… this block (%iscall% and a github ref number update); planned follow up to #4212
Closes #4089.
Current behavior will re-order columns when using
(m)geteven when.SDcolsis present. This can be dangerous when updating in place:Proposed will not re-order the columns when
.SDcolsargument is present.Also, some code was re-arranged to address a
TODOcomment related to this section of[.data.table.