We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c16e40 commit 9ccefe2Copy full SHA for 9ccefe2
packages/cubejs-clickhouse-driver/src/ClickHouseDriver.ts
@@ -567,7 +567,7 @@ export class ClickHouseDriver extends BaseDriver implements DriverInterface {
567
}
568
569
public async createSchemaIfNotExists(schemaName: string): Promise<void> {
570
- await this.query(`CREATE DATABASE IF NOT EXISTS ${schemaName}`, []);
+ await this.command(`CREATE DATABASE IF NOT EXISTS ${schemaName}`);
571
572
573
public getTablesQuery(schemaName: string): Promise<TableQueryResult[]> {
0 commit comments