diff --git a/packages/cubejs-cli/src/command/typegen.ts b/packages/cubejs-cli/src/command/typegen.ts index 9b73328b4a2d7..b0a00e3d971ad 100644 --- a/packages/cubejs-cli/src/command/typegen.ts +++ b/packages/cubejs-cli/src/command/typegen.ts @@ -66,12 +66,12 @@ const generateQueryTypes = async (apiUrl, { token }) => { try { const response = await fetch( `${apiUrl}/meta`, - { - headers: { - authorization: token, - 'Content-type': 'application/json', - } - } + { + headers: { + authorization: token, + 'Content-type': 'application/json', + } + } ); meta = await response.json(); } catch (e: any) { diff --git a/packages/cubejs-clickhouse-driver/src/ClickHouseDriver.ts b/packages/cubejs-clickhouse-driver/src/ClickHouseDriver.ts index 6878647941092..111428e3c1225 100644 --- a/packages/cubejs-clickhouse-driver/src/ClickHouseDriver.ts +++ b/packages/cubejs-clickhouse-driver/src/ClickHouseDriver.ts @@ -173,7 +173,7 @@ export class ClickHouseDriver extends BaseDriver implements DriverInterface { }, }; - const maxPoolSize = config.maxPoolSize ?? getEnv("dbMaxPoolSize", { dataSource }) ?? 8; + const maxPoolSize = config.maxPoolSize ?? getEnv('dbMaxPoolSize', { dataSource }) ?? 8; this.client = this.createClient(maxPoolSize); } diff --git a/packages/cubejs-testing-shared/src/db-container-runners/ksql.ts b/packages/cubejs-testing-shared/src/db-container-runners/ksql.ts index 70f0c083d7a5a..e7bb53dc113fe 100644 --- a/packages/cubejs-testing-shared/src/db-container-runners/ksql.ts +++ b/packages/cubejs-testing-shared/src/db-container-runners/ksql.ts @@ -59,7 +59,7 @@ export class KsqlDBRunner extends DbRunnerAbstract { method: 'POST', headers: { Accept: 'application/json' }, body: JSON.stringify({ - ksql: "CREATE OR REPLACE STREAM REQUESTS (ID STRING, TIMESTAMP TIMESTAMP, TENANT_ID INTEGER, REQUEST_ID STRING) WITH (KAFKA_TOPIC = 'REQUESTS', KEY_FORMAT = 'JSON', PARTITIONS = 1, REPLICAS = 1, VALUE_FORMAT = 'JSON');", + ksql: 'CREATE OR REPLACE STREAM REQUESTS (ID STRING, TIMESTAMP TIMESTAMP, TENANT_ID INTEGER, REQUEST_ID STRING) WITH (KAFKA_TOPIC = \'REQUESTS\', KEY_FORMAT = \'JSON\', PARTITIONS = 1, REPLICAS = 1, VALUE_FORMAT = \'JSON\');', streamsProperties: {} }) });