Skip to content
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

Implement v1 serialization for Enumerations #4288

Merged
merged 2 commits into from
Sep 2, 2023

Conversation

davisp
Copy link
Contributor

@davisp davisp commented Aug 18, 2023

This change adds support for the new
tiledb_handle_load_enumerations_request and adds the corresponding REST
client APIs to make use of it. The changes in this PR cannot be tested
directly until after TileDB-Cloud-REST has merged support for the new
HTTP endpoint that will connect these two new functions. Although I have
tested these locally using REST-CI tests and the basic tests all pass
just fine.


TYPE: IMPROVEMENT
DESC: Add tiledb_handle_load_enumerations_request

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #32981: [CORE] Add load enumeration request API.

tiledb/sm/rest/rest_client.cc Outdated Show resolved Hide resolved
tiledb/sm/rest/rest_client.cc Outdated Show resolved Hide resolved
@davisp davisp force-pushed the pd/sc-32981/add-handle-load-enumerations-api branch 2 times, most recently from 9069c40 to 40ce91e Compare August 21, 2023 21:02
@davisp davisp force-pushed the pd/sc-32981/add-handle-load-enumerations-api branch 2 times, most recently from 40ce91e to e99fd24 Compare August 30, 2023 19:01
@davisp davisp changed the title [WIP] Add tiledb_handle_load_enumerations_request Implement v1 serialization for Enumerations Aug 30, 2023
@davisp davisp marked this pull request as ready for review August 30, 2023 19:01
@davisp davisp requested a review from Shelnutt2 August 30, 2023 19:03
@davisp davisp force-pushed the pd/sc-32981/add-handle-load-enumerations-api branch 5 times, most recently from d55ede4 to ab8e71f Compare August 31, 2023 01:47
The previous version of loading enumerations accidentally exposed the
concept of multiple array schemas to users of the C API which was a
first. Even though it was only a boolean flag, it was still crossing a
line in our API model so it has been removed.

This also changes how the ArrayDirectory loads enumerations slightly so
that loading multiple enumerations is done in parallely any time more
than one enumeration is required.
@davisp davisp force-pushed the pd/sc-32981/add-handle-load-enumerations-api branch from ab8e71f to 204ee99 Compare August 31, 2023 20:22
This change adds support for the new
tiledb_handle_load_enumerations_request and adds the corresponding REST
client APIs to make use of it. The changes in this PR cannot be tested
directly until after TileDB-Cloud-REST has merged support for the new
HTTP endpoint that will connect these two new functions. Although I have
tested these locally using REST-CI tests and the basic tests all pass
just fine.
@davisp davisp force-pushed the pd/sc-32981/add-handle-load-enumerations-api branch from 204ee99 to c40b92a Compare August 31, 2023 20:47
@ihnorton ihnorton merged commit 904fd56 into dev Sep 2, 2023
54 checks passed
@ihnorton ihnorton deleted the pd/sc-32981/add-handle-load-enumerations-api branch September 2, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants