[
https://issues.apache.org/jira/browse/ASTERIXDB-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yingyi Bu resolved ASTERIXDB-1294.
----------------------------------
Resolution: Won't Fix
Both "For" clauses in AQL and Select queries in SQL++ return an ordered list.
IMO, "ordered list" doesn't mean the list is ordered by some keys, but just
mean insertion order (which could be non-deterministic, e.g., result
distribution) is maintained and index-based access (e.g., positional variables
and index-access expressions) is supported.
> FOR clause should return an Unordered collection of elements/records
> --------------------------------------------------------------------
>
> Key: ASTERIXDB-1294
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1294
> Project: Apache AsterixDB
> Issue Type: Bug
> Reporter: Pouria
> Assignee: Yingyi Bu
>
> The return type for the "FOR" clause from a data type perspective should be
> an "unordered" collection (Similar to SQL's "SELECT" statement). However,
> currently it is considered as an "ordered" collection.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)