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 02d41bb commit 1907e2eCopy full SHA for 1907e2e
packages/cubejs-clickhouse-driver/src/ClickHouseDriver.ts
@@ -15,6 +15,7 @@ import {
15
DownloadTableCSVData,
16
DriverCapabilities,
17
DriverInterface,
18
+ QueryOptions,
19
QuerySchemasResult,
20
StreamOptions,
21
StreamTableDataWithTypes,
@@ -573,6 +574,10 @@ export class ClickHouseDriver extends BaseDriver implements DriverInterface {
573
574
return this.query('SELECT name as table_name FROM system.tables WHERE database = ?', [schemaName]);
575
}
576
577
+ public override async dropTable(tableName: string, _options?: QueryOptions): Promise<void> {
578
+ await this.command(`DROP TABLE ${tableName}`);
579
+ }
580
+
581
protected getExportBucket(
582
dataSource: string,
583
): ClickhouseDriverExportAWS | undefined {
0 commit comments