azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

[FEATURE REQ] Cosmos Criteria API: add support for IS_DEFINED function

Open siarheiburliayeu opened this issue 3 years ago • 2 comments

Describe the solution you'd like Please add support for IS_DEFINED function for Cosmos Criteria API.

siarheiburliayeu avatar Dec 02 '20 09:12 siarheiburliayeu

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

ghost avatar Dec 02 '20 09:12 ghost

@mbhaskar - please take a look at this issue.

kushagraThapar avatar Dec 02 '20 17:12 kushagraThapar

Considering this for next semester planning.

TheovanKraay avatar Aug 16 '23 19:08 TheovanKraay

@TheovanKraay can you please take a look at this, thanks!

kushagraThapar avatar Jan 23 '24 18:01 kushagraThapar

Hi, are there any updates on this?

Blackbaud-AliRashed avatar Feb 12 '24 21:02 Blackbaud-AliRashed

@Blackbaud-AliRashed this is currently in our backlog and has not been picked up.

I am wondering if you are stuck because of this or is there a workaround which can unblock you while we support this in its original form?

kushagraThapar avatar Mar 04 '24 17:03 kushagraThapar

I'm blocked by this.

I have documents where i added fields and i need to provide backward compatiblity. So i would like to add to the query where X = false or IS NOT_DEFINED(X). I don't immediatly see how i can create a workaround for this.

OverbodigeZever avatar Mar 28 '24 10:03 OverbodigeZever

@Blackbaud-AliRashed this is currently in our backlog and has not been picked up.

I am wondering if you are stuck because of this or is there a workaround which can unblock you while we support this in its original form?

For my use-case, I was able to implement a workaround, so I'm not currently blocked.

Blackbaud-AliRashed avatar Mar 28 '24 16:03 Blackbaud-AliRashed

@OverbodigeZever are you able to post your use case so that I can see if there is a work around until this is addressed? Are you able to use @Query definition with a repository in the meantime like below?

image

trande4884 avatar Mar 28 '24 16:03 trande4884

we are building our queries dynamically using the Criteria API due to the business logic we need. I can not use the example as above. At the moment we skipped this, since it's not supported. It would however be very interesting to support this. This first message dates from 2020.. and people do use your sdk for good reasons. Thanks for the fast reply @trande4884

OverbodigeZever avatar Mar 29 '24 10:03 OverbodigeZever

Understood @OverbodigeZever, this is now in our plan to accomplish and I will update here once it's done!

trande4884 avatar Mar 29 '24 13:03 trande4884

Hi @siarheiburliayeu, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

github-actions[bot] avatar Apr 29 '24 18:04 github-actions[bot]