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

Propose a way to execute custom queries when provisioning a partition #40

Open
ylegat opened this issue Sep 5, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@ylegat
Copy link
Contributor

ylegat commented Sep 5, 2024

Is your feature request related to a problem? Please describe

Currently, when privisioning a partition, the manager can only add constraints that are defined on the partitioned table.
But some constraints cannot be configured on the partitioned table and some users might still want the on their partitions.
That is the case of unique constraints that do not include the partition key.

However, adding a unique index on each partitions does not guarantee the unicity of the value globally (among all partitions).
So it is not clear if it is worth enabling this possibility just for that case.

Describe the solution you'd like

The more flexible solution would be to allow users to define custom query to be executed during the provisioning of a partition.

@ylegat ylegat added the enhancement New feature or request label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant