clickhouse: fixed sorting in OLAP requests [#CONV-6318].

This commit is contained in:
Michael Kolupaev 2013-01-18 14:59:46 +00:00
parent 4a37559718
commit a259a1ef69

View File

@ -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);
}
}