Skip to content
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

Horizontal Dashboard has issue with ORDER BY #3499

Open
MennaKassem opened this issue May 13, 2024 · 2 comments
Open

Horizontal Dashboard has issue with ORDER BY #3499

MennaKassem opened this issue May 13, 2024 · 2 comments
Assignees
Labels
☢️ Bug Something isn't working

Comments

@MennaKassem
Copy link

Which OpenObserve functionalities are the source of the bug?

dashboards

Is this a regression?

Yes

Description

The horizontal dashboard has issue with the order by although it is working well with the vertical dashboard. here the ORDER BY requests DESC , should show as the vertical dashboards shows nymcard then zoho then lago and so on . it works fine with vertical as shown but not working with horizontal.
Screen Shot 2024-05-13 at 10 35 24 AM
Screen Shot 2024-05-13 at 10 35 32 AM

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the version you discovered this bug in (check about page for version information)

Version: v0.10.5
Commit Hash: 30d06f180da82120f75eb08b702eeb0e10438470
Build Date: 2024-04-30T09:31:56Z

Anything else?

No response

@gaby
Copy link
Contributor

gaby commented May 16, 2024

@ktx-abhay I seen this affect the Data Table too. When I use Order By and LIMIT the data changes every time I click "Run Query" when creating a visualization.

@ktx-abhay
Copy link
Collaborator

  • When the ORDER BY clause is not used with LIMIT, the SQL query will return a random set of 'n' results.
  • However, if you specify both ORDER BY and LIMIT, the query will return the top 'n' results based on the ordering specified in the ORDER BY clause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants