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

Fixing bug with ARRAY_CONTAINS in annotated queries. #31179

Merged
merged 10 commits into from
Sep 28, 2022

Conversation

trande4884
Copy link
Member

@trande4884 trande4884 commented Sep 28, 2022

Description

Fixing bug with ARRAY_CONTAINS in annotated queries. Adding more integration tests to prevent further regressions. This bug was introduced by fixing the IN clause with annotated queries. There are now integration tests for both IN and ARRAY_CONTAINS annotated queries to prevent future regressions.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Copy link
Member

@kushagraThapar kushagraThapar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @trande4884 , however the PR description mentions the unit tests. Couldn't find them in the PR. Can you please point to those?

@trande4884
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@trande4884
Copy link
Member Author

/check-enforcer override

@trande4884 trande4884 merged commit 57666f7 into Azure:main Sep 28, 2022
@maximdomentii
Copy link

Isn't the same fix required for StringBasedReactiveCosmosQuery.java ?

@kushagraThapar
Copy link
Member

@maximdomentii valid point, @trande4884 can you please port this for reactive repository as well, thanks!

@trande4884
Copy link
Member Author

@maximdomentii I will get this done, it can be tracked here: #33764

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues Cosmos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Query annotation with ARRAY_CONTAINS not working in azure-spring-data-cosmos 3.26.0
4 participants