superset icon indicating copy to clipboard operation
superset copied to clipboard

I dont't want to use ORDER BY,Your default sql always with it .

Open tianhanfangyan opened this issue 8 years ago • 3 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [1 ] I have checked the superset logs for python stacktraces and included it here as text if any
  • [1] I have reproduced the issue with at least the latest released version of superset
  • [1 ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.22.1

Expected results

SELECT name AS name, SUM(birth_names.num) AS sum__num FROM birth_names WHERE ds >= '1917-12-13 00:00:00.000000' AND ds <= '2017-12-13 11:48:59.000000' AND gender IN ('boy') GROUP BY name LIMIT 50 OFFSET 0

Actual results

SELECT name AS name, SUM(birth_names.num) AS sum__num FROM birth_names WHERE ds >= '1917-12-13 00:00:00.000000' AND ds <= '2017-12-13 11:48:59.000000' AND gender IN ('boy') GROUP BY name ORDER BY sum__num DESC LIMIT 50 OFFSET 0

Steps to reproduce

tianhanfangyan avatar Dec 13 '17 03:12 tianhanfangyan

Is there anybody can solve this problem.

tianhanfangyan avatar Dec 28 '17 05:12 tianhanfangyan

I try to visualize bad performing products using the bar chart. But it is not possible because of this default "ORDER BY sum__num DESC".

Is there any hack to do "ORDER BY sum__num ASC"?

Towhid1 avatar Jan 02 '19 09:01 Towhid1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 10 '19 10:04 stale[bot]