Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.35k stars 2k forks source link

[QUERY] How to configure hierarchical partition keys using spring-data-cosmos #32827

Open aggarnik opened 1 year ago

aggarnik commented 1 year ago

Query/Question I use @PartitionKey to define a logical partition in my model class. I am not able to find any annotations using which I can define hierarchical partition keys in my model class. Is this feature supported by spring-data-cosmos module?

Why is this not a Bug or a feature Request? This is a query regarding a feature supported by azure-sdk.

fangjian0423 commented 1 year ago

@trande4884 could you please take a look? thanks.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar, @TheovanKraay

kushagraThapar commented 1 year ago

@aggarnik - this is in our backlog and is being developed currently in our Azure Cosmos DB Java V4 SDK. Once it is done and GAed, we plan to build this in Spring Data Cosmos SDK. cc @simorenoh

TheovanKraay commented 1 year ago

to be review in planning for next semester.

kushagraThapar commented 8 months ago

@aggarnik - FYI, this is currently in development - and the PR is out - https://github.com/Azure/azure-sdk-for-java/pull/38365