mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
clickhouse: fixed sorting in OLAP requests [#CONV-6318].
This commit is contained in:
parent
4a37559718
commit
a259a1ef69
@ -123,7 +123,7 @@ void QueryConverter::OLAPServerQueryToClickhouse(const QueryParseResult & query,
|
||||
|
||||
if (i > 0)
|
||||
out_query += ", ";
|
||||
out_query += selected_expressions[column.index];
|
||||
out_query += selected_expressions[column.index - 1];
|
||||
out_query += " " + convertSortDirection(column.direction);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user