-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
results not always in same order with aggregates that have group by *
#3968
Comments
Is this a |
@corylanou the result of the |
Ah, that makes sense. I don't think any "sorting" is wired up besides the time/value as you stated. I have a lot of that "magic" worked out in some of my functions. It's a bit of a beast though because of the fact that all values are interfaces. However, for a first pass, we could settle for sorting on |
@otoolep and @DanielMorsing have done work in this area recently. Getting the ordering right without killing query performance has to be handled with care. E.g., adding a single integer comparison for |
Yeah, also realized that seriesID is meaning less as you probably need to sort based on column order (which makes more sense to me) and not on seriesID, which is not the same order as what a user can ask for. |
Query engine has been rewritten. Closing. |
Can be reproduced by running this script multiple times until it fails: https://gist.github.com/dgnorton/b944f413d159c6d18957
Or, run the script once and then use the CLI to run
select * from rp0.cpu
multiple times.The text was updated successfully, but these errors were encountered: