Skip to content

Commit 9ccefe2

Browse files
committed
[FIXUP] proper override for createSchemaIfNotExists
1 parent 6c16e40 commit 9ccefe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-clickhouse-driver/src/ClickHouseDriver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ export class ClickHouseDriver extends BaseDriver implements DriverInterface {
567567
}
568568

569569
public async createSchemaIfNotExists(schemaName: string): Promise<void> {
570-
await this.query(`CREATE DATABASE IF NOT EXISTS ${schemaName}`, []);
570+
await this.command(`CREATE DATABASE IF NOT EXISTS ${schemaName}`);
571571
}
572572

573573
public getTablesQuery(schemaName: string): Promise<TableQueryResult[]> {

0 commit comments

Comments
 (0)