You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (JIRA)" <ji...@apache.org> on 2019/03/18 21:19:00 UTC

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

     [ https://issues.apache.org/jira/browse/CALCITE-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Sereda updated CALCITE-2931:
-----------------------------------
    Description: 
Some tests currently fail because of wrong order of keys in Bson. 

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

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

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


> Mongo Adapter. Compare Bson (not string) query representation in tests
> ----------------------------------------------------------------------
>
>                 Key: CALCITE-2931
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2931
>             Project: Calcite
>          Issue Type: Bug
>          Components: mongodb
>            Reporter: Andrei Sereda
>            Assignee: Andrei Sereda
>            Priority: Major
>
> Some tests currently fail because of wrong order of keys in Bson. 
> {code:json}
> // Expected
> {$project: {POP: '$pop', STATE: '$state'}}
> // Actual
> {$project: {STATE: '$state', POP: '$pop'}}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)