mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
fix: raise unexpected error when orderby is empty (#15353)
* fix: raise unexpected error when orderby is empty * fix ut
This commit is contained in:
2
tests/fixtures/query_context.py
vendored
2
tests/fixtures/query_context.py
vendored
@@ -31,7 +31,7 @@ query_birth_names = {
|
||||
},
|
||||
"groupby": ["name"],
|
||||
"metrics": [{"label": "sum__num"}],
|
||||
"orderby": [["sum__num", False]],
|
||||
"orderby": [("sum__num", False)],
|
||||
"row_limit": 100,
|
||||
"granularity": "ds",
|
||||
"time_range": "100 years ago : now",
|
||||
|
||||
Reference in New Issue
Block a user