[ 
https://issues.apache.org/jira/browse/CALCITE-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16517214#comment-16517214
 ] 

Volodymyr Vysotskyi commented on CALCITE-2370:
----------------------------------------------

Thanks for checking this, but in future, the order of the results may be 
changed for the queries where it was not specified, so tests, which used 
{{returns()}} but not {{returnsUnordered()}} will fail.

I think we should be sure that this problem will not appear for existing tests 
for newer versions. 

> Failing mongo IT tests on version 3 without explicit sort
> ---------------------------------------------------------
>
>                 Key: CALCITE-2370
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2370
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Andrei Sereda
>            Assignee: Julian Hyde
>            Priority: Major
>
> By default mongo does not guarantee return order of documents unless explicit 
> sort is specified.
> Changed test to sort states by name to have more deterministic result



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

Reply via email to