-
Notifications
You must be signed in to change notification settings - Fork 59
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
feat!(ffi): expose metadata in SchemaEngineVisitor ffi api #659
feat!(ffi): expose metadata in SchemaEngineVisitor ffi api #659
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #659 +/- ##
==========================================
- Coverage 84.22% 84.14% -0.08%
==========================================
Files 77 77
Lines 17694 17710 +16
Branches 17694 17710 +16
==========================================
Hits 14902 14902
- Misses 2080 2096 +16
Partials 712 712 ☔ 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.
looking good, left a couple comments!
also looks like builds are red due to unused arg:
|
Oh I think due to the preprocessing? might need to IFDEF in such at way that it doesn't yell about unused vars.. |
fixed in the last commit |
void print_physical_name(const char *name, const CStringMap* metadata) | ||
{ | ||
#ifdef VERBOSE | ||
char* key_str = "delta.columnMapping.physicalName"; |
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.
NOTE: This is an internal Delta column that should not actually be user-visible, see #583. That needs to be fixed in kernel proper (not here in the FFI layer), but when it does get fixed this example will stop working.
7bbe83d
to
95a89fa
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. Couple nits to fix before merge.
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 to me, Ryan and Zach got most of the nits on it.
and @kssenii can you rebase your branch? |
…ta-in-engine-visitor
What changes are proposed in this pull request?
This PR affects the following public APIs
A new argument "metadata" was added to EngineSchemaVisitor visitor functions.
How was this change tested?
examples/read_table
was updated to test the change.