File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/cubejs-schema-compiler/src/adapter Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -175,21 +175,21 @@ export class ClickHouseQuery extends BaseQuery {
175175 // ClickHouse orders string by bytes, so we need to use COLLATE 'en' to order by string
176176 //
177177 if ( R . isEmpty ( this . order ) ) {
178- return "" ;
178+ return '' ;
179179 }
180180
181181 const orderByString = R . pipe (
182- R . map ( ( order ) => this . orderHashToString ( order ) + " COLLATE 'en'" ) ,
183- R . reject ( R . isNil ) ,
184- R . join ( ", " )
182+ R . map ( ( order ) => ` ${ this . orderHashToString ( order ) } COLLATE 'en'` ) ,
183+ R . reject ( R . isNil ) ,
184+ R . join ( ', ' )
185185 ) ( this . order ) ;
186186
187187 if ( ! orderByString ) {
188- return "" ;
188+ return '' ;
189189 }
190190
191191 return ` ORDER BY ${ orderByString } ` ;
192- }
192+ }
193193
194194 public groupByClause ( ) {
195195 if ( this . ungrouped ) {
You can’t perform that action at this time.
0 commit comments