-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add loader and storage support for struct #1490
Conversation
3386624
to
cc7ed5e
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1490 +/- ##
==========================================
+ Coverage 92.07% 92.20% +0.13%
==========================================
Files 671 671
Lines 23894 24069 +175
==========================================
+ Hits 22001 22194 +193
+ Misses 1893 1875 -18
☔ View full report in Codecov by Sentry. |
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.
Can you add more tests to cover more data types? See codecov report in InMemStructColumnChunk::copyValueToStructColumnField
.
template<> | ||
void InMemColumnChunk::setValueFromString<bool>( | ||
const char* value, uint64_t length, common::page_idx_t pageIdx, uint64_t posInPage) { | ||
std::istringstream boolStream{std::string(value)}; |
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.
Ditto. Can we not use istringstream
here?
cc7ed5e
to
14bf9c3
Compare
This PR adds basic loader and storage support for struct dataType.
Unresolved struct dataType issues:
Match (m:movies) return m.description.rating
exception bug.