-
Notifications
You must be signed in to change notification settings - Fork 185
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
Reimplement C++ dump
APIs as deprecated.
#5179
Conversation
d63cfb0
to
da48d7a
Compare
da48d7a
to
fa37615
Compare
@eric-hughes-tiledb, @teo-tsirpanis I think every check will pass. Python and R are confirmed to have no problems on this branch. |
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.
Left some questions and feedback. Feedback on the attribute
code also applies to the other changed modules.
this_target_object_libraries(capi_string) | ||
this_target_object_libraries(capi_dimension_stub) |
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.
FYI. this_target_object_libraries
takes a list, not just a single argument.
Just wanted to note that eg |
Remove duplicate entry. Co-authored-by: Theodore Tsirpanis <[email protected]>
…DB_REMOVE_DEPRECATIONS`.
…ders and wrap them with `#ifndef TILEDB_REMOVE_DEPRECATIONS`.
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.
All the FILE *
arguments need their validation restored. And this is the second time that "conversation was resolved" with neither comment nor code change.
ce7603a
to
0b0822c
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
CHECK(rc == TILEDB_INVALID_CONTEXT); | ||
} | ||
SECTION("null domain") { | ||
auto rc{tiledb_domain_dump(ctx, nullptr, nullptr)}; | ||
tiledb_string_t* tdb_string; | ||
auto rc{tiledb_domain_dump_str(ctx, nullptr, &tdb_string)}; | ||
CHECK(rc == TILEDB_ERR); | ||
} | ||
// SECTION("null FILE") is omitted. Null FILE* defaults to stderr |
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.
It's no longer the case that null FILE *
defaults to anything. This should be updated, but it's not critical to do so in this PR.
dump
APIs as deprecateddump
APIs as deprecated.
@eric-hughes-tiledb @KiterLuc @teo-tsirpanis thanks for this! |
[sc-32959]
Following #5026,
dump
C++ APIs were mistakenly deleted. This PR reimplements them as deprecated.operator<<
remains the canonical interface.TYPE: NO_HISTORY
DESC: Reimplement
dump
C++ APIs as deprecated.