This message was deleted.
# general
s
This message was deleted.
l
This assumption won’t hold true in many cases and specifying explicit order by is important. For example, if there are multiple segments, and the query merges data from those segments, then the order might be different.
Specifies some internals when you order by time on scan
l
oh, ok, so it is only true for datas on the same segment ?
l
I don’t think there are any guarantees built for this.
so relying on this would be incorrect
if there’s multiple threads involved, I’d assume that it will break for a single segment as well, with complex queries (other than scans)
l
fine. Thanks ! So it is like what we can have in other databases, like postgres, where same queries returns usually the results in same order if you run them many times, but with no garantees.
Thanks, it is more clear !
j
SQL in general will not guarantee any ordering of the data returned unless an ORDER BY clause is specified ... So as Laksh says, you cannot rely on "incidental" behavior here ... (edited)
👍 1