Skip to content

Commit cc472af

Browse files
committed
[FIXUP] proper override for dropTable
1 parent 02d41bb commit cc472af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,10 @@ export class ClickHouseDriver extends BaseDriver implements DriverInterface {
573573
return this.query('SELECT name as table_name FROM system.tables WHERE database = ?', [schemaName]);
574574
}
575575

576+
public override async dropTable(tableName: string, _options?: QueryOptions): Promise<void> {
577+
await this.command(`DROP TABLE ${tableName}`);
578+
}
579+
576580
protected getExportBucket(
577581
dataSource: string,
578582
): ClickhouseDriverExportAWS | undefined {

0 commit comments

Comments
 (0)