-
Notifications
You must be signed in to change notification settings - Fork 69
refactor: Restructure catalog module #230
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
de1206b to
5c4d0d1
Compare
b03771f to
681c18a
Compare
3338363 to
e7db68e
Compare
| @@ -15,13 +15,23 @@ | |||
| # specific language governing permissions and limitations | |||
| # under the License. | |||
|
|
|||
| fetchcontent_declare(cpp-httplib | |||
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.
@WillAyd Do you have any comment?
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.
Assuming this is in the context of Meson then no - this package is available in the wrapdb so it's easy to integrate
| # under the License. | ||
|
|
||
| iceberg_install_all_headers(iceberg/catalog) | ||
| add_subdirectory(memory) |
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.
| add_subdirectory(memory) | |
| add_subdirectory(memory) |
843a775 to
957f9d7
Compare
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| iceberg_install_all_headers(iceberg/catalog) |
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 since the in_memory_catalog.h header was moved, this no longer installs anything. Maybe worth removing?
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.
Good catch!
Reorganizes the catalog module structure to better support the upcoming REST catalog implementation. Changes:
memorysubdirectory withiniceberg-cpp/src/iceberg/catalog/. Move the existingin_memory_catalog.ccandin_memory_catalog.hfiles into this new memory subdirectory.jsondependencies for the rest package to support serialization and deserialization of data.cpp-httplibdependency to the rest test code. This library will be used to simply simulate an Iceberg REST server, enabling tests of whether the RestCatalog client can communicate with it correctly and handle success and failure scenarios.Hint:
closes #229 .