[CALCITE-2931] Mongo Adapter. Compare Bson (not string) query representation in tests#1114
Closed
asereda-gs wants to merge 1 commit intoapache:masterfrom
Closed
[CALCITE-2931] Mongo Adapter. Compare Bson (not string) query representation in tests#1114asereda-gs wants to merge 1 commit intoapache:masterfrom
asereda-gs wants to merge 1 commit intoapache:masterfrom
Conversation
…ntation in tests
Some tests currently fail because of wrong order of keys in Bson.
```text
// Expected
{$project: {POP: '$pop', STATE: '$state'}}
// Actual
{$project: {STATE: '$state', POP: '$pop'}}
```
Contributor
|
Change looks reasonable to me. Planning to pull PR down and check against Mongo integration tests. |
risdenk
approved these changes
Mar 19, 2019
Contributor
|
Checked PR against MongoDB integration tests and tests pass. |
wangxlong
pushed a commit
to wangxlong/calcite
that referenced
this pull request
Feb 13, 2020
…ntation in tests
Some tests currently fail because of wrong order of keys in Bson.
```text
// Expected
{$project: {POP: '$pop', STATE: '$state'}}
// Actual
{$project: {STATE: '$state', POP: '$pop'}}
```
Close apache#1114
Signed-off-by: Kevin Risden <krisden@apache.org>
jamesstarr
pushed a commit
to jamesstarr/calcite
that referenced
this pull request
Aug 28, 2025
…ntation in tests
Some tests currently fail because of wrong order of keys in Bson.
```text
// Expected
{$project: {POP: '$pop', STATE: '$state'}}
// Actual
{$project: {STATE: '$state', POP: '$pop'}}
```
Close apache#1114
Signed-off-by: Kevin Risden <krisden@apache.org>
Change-Id: I246014a731a47fa0c448db6692f1d619e098f73c
jamesstarr
pushed a commit
to jamesstarr/calcite
that referenced
this pull request
Mar 16, 2026
…ntation in tests
Some tests currently fail because of wrong order of keys in Bson.
```text
// Expected
{$project: {POP: '$pop', STATE: '$state'}}
// Actual
{$project: {STATE: '$state', POP: '$pop'}}
```
Close apache#1114
Signed-off-by: Kevin Risden <krisden@apache.org>
Change-Id: I246014a731a47fa0c448db6692f1d619e098f73c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/CALCITE-2931
Some tests currently fail because of wrong order of keys in Bson.