Skip to content

Conversation

Sukhamjot-Singh
Copy link

Description

There a was a bug when using NOT_IN in the array pipeline.

Copy link
Contributor

@suresh-prakash suresh-prakash left a comment

Choose a reason for hiding this comment

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

You can check-in your integration tests (in a generic way without specifying any proprietary information) so that any changes to this flow would be caught early on.

* IN" functionality by combining the $not and $in operators.
*/
@AllArgsConstructor
public class MongoStandardExprNotInRelationalFilterParser implements MongoRelationalFilterParser {
Copy link
Contributor

Choose a reason for hiding this comment

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

My bad on the naming suggestion earlier. Since we are special casing "NOT_IN", it is no longer a standard one.

Suggested change
public class MongoStandardExprNotInRelationalFilterParser implements MongoRelationalFilterParser {
public class MongoNotInExprRelationalFilterParser implements MongoRelationalFilterParser {

@Sukhamjot-Singh
Copy link
Author

You can check-in your integration tests (in a generic way without specifying any proprietary information) so that any changes to this flow would be caught early on.

I have added test for Mongo provider
I couldn't debug postgres issue

* environment IDs.
*/
@ParameterizedTest
@ArgumentsSource(MongoProvider.class)
Copy link
Contributor

Choose a reason for hiding this comment

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

Anything we build in document-store needs to be compatible with Postgres too to avoid digressing them too much. Could you please sync. with the respective team to get this working on Postgres too? I believe that should be a smaller fix too.

@Sukhamjot-Singh Sukhamjot-Singh changed the title Adding logic and fixing order ENGTAI-68310 : Adding logic and fixing order Sep 10, 2025
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