Skip to content

Commit a5b279e

Browse files
committed
Change intentation from 4 spaces to 2 spaces
1 parent f26f4fe commit a5b279e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/cubejs-schema-compiler/src/adapter/ClickHouseQuery.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)