Skip to content

[Backport release-2.28] Finalize Profile and add example. #5572

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 1 commit into from
Jul 11, 2025

Conversation

kounelisagis
Copy link
Member

Backport of #5533 to release-2.28


TYPE: IMPROVEMENT
DESC: Finalize Profile feature and add example.

This PR is intended to be the final Profile-related update before the
first release that includes the Profile feature. It includes the
following changes:
- Addresses the comment in
#5498 (comment)
regarding the use of the `.tiledb` path extension: it is now only
appended to the default path (homedir). If the user provides a custom
path, nothing is appended.
- Removes the constructor of the `RestProfile` class that accepts only
the profile name, by assigning default values to the parameters of the
other constructor. This simplifies the overall logic.
- Makes the internal profile removal function, as well as the C++ API,
static. This better aligns with the intended use cases of the feature,
as Profiles are rarely created, and it is not logical to require users
to create a Profile object just to remove a profile from disk.
- Adds a C++ example demonstrating the expected usage of Profiles.

Closes CORE-235

---
TYPE: IMPROVEMENT
DESC: Finalize Profile feature and add example.
@ypatia ypatia merged commit 2c58753 into release-2.28 Jul 11, 2025
111 of 112 checks passed
@ypatia ypatia deleted the backport/5533-to-release-2.28 branch July 11, 2025 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants