-
Notifications
You must be signed in to change notification settings - Fork 77
Column takeset #2032
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
Column takeset #2032
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2032 +/- ##
==========================================
- Coverage 93.33% 93.12% -0.21%
==========================================
Files 27 27
Lines 25538 26452 +914
Branches 1163 1292 +129
==========================================
+ Hits 23835 24633 +798
- Misses 1673 1787 +114
- Partials 30 32 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, shame we have to duplicate some logic but a separate function is the way.
aaa5dac
to
f0fb42c
Compare
I've rebased to master, trying this out with the kastore changes. |
Added an initial test and fix. Next step is testing missing columns and bad combos. |
Great - can you ping me when you'd like some input here please? (Would it be simpler to start your own PR or is it the same thing to just push to my branch? I don't mind) |
My plan is to complete the proposal and tests for the IndividualTable, then get feedback. It's almost there so later today. Will push to this one if that's ok! |
ae64434
to
6b74680
Compare
@jeromekelleher Had to move things about to get errors to happen before memory is changed. I think this is worth a review now. |
LGTM! I've had a good think about how we might avoid the duplication of NULL logic between here and |
Great, I have commenced the great pasting ritual. |
dc4bd3a
to
aa4c87b
Compare
@jeromekelleher Think this is ready to review now! |
Just realised we also need takeset indexes too! |
@jeromekelleher Ok! I think we are good here, I've used these methods over at #2143 successfully. |
Gah, missing coverage on all the ragged-column-contents error branches. Will add that in. |
38398c7
to
dbd2e34
Compare
Ok, tests added. I think all the remaining uncovered branches are only triggerable by malloc errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for slogging through this @benjeffery.
I think we just need to add a few tests to cover the check_ragged_column
calls on the input. It should be straightforward enough to do by setting x_col_offset
= -1 (or something). That will bump up the test coverage quite a bit.
a94a620
to
cdb753e
Compare
Can you ping me when this is ready for a last look please @benjeffery? |
@jeromekelleher Ok! Coverage looks a lot better. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, let's merge!
(I can't approve this as it's my PR - you'll need to approve yourself I think)
676fa42
to
c0ef9e4
Compare
Provide x_table_takeset_columns
Part of #2016, #1977, #537, #538
This is my initial outline for discussion, and completely untested. What do you think @benjeffery?