Skip to content

Commit 25e0248

Browse files
authored
Merge pull request #25 from ATNoG/hotfix/fix_query_order
window_start_time -> window_end_time
2 parents 9456378 + d4095be commit 25e0248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class QueryCH:
1818
WHERE cell_index = {cell_index:Int32}
1919
AND toUnixTimestamp(window_start_time) >= {start_time:Int64}
2020
AND toUnixTimestamp(window_end_time) <= {end_time:Int64}
21-
ORDER BY window_start_time DESC
21+
ORDER BY window_end_time DESC
2222
LIMIT {limit:Int32}
2323
OFFSET {offset:Int32}
2424
"""

0 commit comments

Comments
 (0)