Skip to content

[CALCITE-2931] Mongo Adapter. Compare Bson (not string) query representation in tests#1114

Closed
asereda-gs wants to merge 1 commit intoapache:masterfrom
asereda-gs:rc1
Closed

[CALCITE-2931] Mongo Adapter. Compare Bson (not string) query representation in tests#1114
asereda-gs wants to merge 1 commit intoapache:masterfrom
asereda-gs:rc1

Conversation

@asereda-gs
Copy link
Copy Markdown
Member

@asereda-gs asereda-gs commented Mar 18, 2019

https://issues.apache.org/jira/browse/CALCITE-2931

Some tests currently fail because of wrong order of keys in Bson.

// Expected
{$project: {POP: '$pop', STATE: '$state'}}

// Actual
{$project: {STATE: '$state', POP: '$pop'}}

…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'}}
```
@risdenk
Copy link
Copy Markdown
Contributor

risdenk commented Mar 19, 2019

Change looks reasonable to me. Planning to pull PR down and check against Mongo integration tests.

@risdenk
Copy link
Copy Markdown
Contributor

risdenk commented Mar 19, 2019

Checked PR against MongoDB integration tests and tests pass.

@risdenk risdenk closed this in 600da53 Mar 19, 2019
@asereda-gs asereda-gs deleted the rc1 branch March 22, 2019 01:25
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
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