Skip to content

Update array create to pass the storage path in payload #5565

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

Merged
merged 14 commits into from
Jul 11, 2025

Conversation

ypatia
Copy link
Member

@ypatia ypatia commented Jun 27, 2025

In the new Server the storage path should not be passed in the request endpoint URL, so we need to specify it in the request payload. In Group create case this was already implemented, but for arrays it was not.

This PR fixes it by introducing a new capnp message, array_create_request, to be used with the new TileDB server only. This new message will include, along with array_schema, a storage_uri that will be indicating to the server where the physical storage of the array will be.


TYPE: IMPROVEMENT
DESC: Update array create to pass the storage path in payload

@ypatia ypatia requested a review from shaunrd0 June 30, 2025 08:47
@ypatia ypatia force-pushed the yt/core-265-update-rest-logic-arrays branch from 01ca5f7 to 09615e8 Compare July 7, 2025 14:18
@ypatia ypatia marked this pull request as ready for review July 7, 2025 14:19
Base automatically changed from shaunreed/core-251-update-endpoint-for-post_group_create_to_rest to main July 8, 2025 08:03
@shaunrd0 shaunrd0 force-pushed the yt/core-265-update-rest-logic-arrays branch from ab716c8 to 80eaf3e Compare July 9, 2025 20:56
shaunrd0 pushed a commit to shaunrd0/TileDB that referenced this pull request Jul 10, 2025
@ypatia ypatia requested a review from teo-tsirpanis July 10, 2025 19:56
@ypatia ypatia merged commit c4efe01 into main Jul 11, 2025
107 of 108 checks passed
@ypatia ypatia deleted the yt/core-265-update-rest-logic-arrays branch July 11, 2025 07:40
@ypatia
Copy link
Member Author

ypatia commented Jul 11, 2025

/backport to release-2.28

Copy link
Contributor

Started backporting to release-2.28: https://github.com/TileDB-Inc/TileDB/actions/runs/16217773720

ypatia added a commit that referenced this pull request Jul 11, 2025
…in payload (#5565) (#5582)

In the new Server the storage path should not be passed in the request
endpoint URL, so we need to specify it in the request payload. In Group
create case this was already implemented, but for arrays it was not.

This PR fixes it by introducing a new capnp message,
array_create_request, to be used with the new TileDB server only. This
new message will include, along with array_schema, a storage_uri that
will be indicating to the server where the physical storage of the array
will be.

---
TYPE: IMPROVEMENT
DESC: Update array create to pass the storage path in payload

---------

Co-authored-by: Ypatia Tsavliri <[email protected]>
Co-authored-by: Shaun Reed <[email protected]>
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.

4 participants