-
Notifications
You must be signed in to change notification settings - Fork 3
Add tests for std::optional
and std::unique_ptr
#44
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
Conversation
I agree that the index would be unexpected here but we should test at least one of |
All fundamental column types are tested in The reason we might want to consider |
The question, though, is: do we test that assumption? (the assumption might be accurate (and guarantee to stay that way) for our implementation, it may not be for an alternate implementation). |
No, as discussed in January: We don't want to (and cannot) test all combinations of all fields and all column types. Note also that the goal of the validation suite is not to provide extensive unit tests for all possible implementation issues, it is specifically about the binary format. |
fe23979
to
850210c
Compare
850210c
to
a438fe6
Compare
Discussion from the IO meeting: in the end we may want to exercise all |
On second thought, that's not a great idea because if we do this consequently, we would only have split encodings inside collections of split index encodings. Let's go with the originally agreed approach to assume separation of column encodings. |
a438fe6
to
50724ef
Compare
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.
lgtm
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.
Thanks.
std::optional
(closes Test forstd::optional
#15)std::unique_ptr
(closes Test forstd::unique_ptr
#16)I think that it's not really needed to test all
[Split]Index{32,64}
column types for these; let me know if you disagree.