Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions packages/cubejs-duckdb-driver/src/DuckDBDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,32 +81,6 @@ export class DuckDBDriver extends BaseDriver implements DriverInterface {
const defaultConnection = db.connect();
const execAsync: (sql: string, ...params: any[]) => Promise<void> = promisify(defaultConnection.exec).bind(defaultConnection) as any;

try {
await execAsync('INSTALL httpfs');
} catch (e) {
if (this.logger) {
console.error('DuckDB - error on httpfs installation', {
e
});
}

// DuckDB will lose connection_ref on connection on error, this will lead to broken connection object
throw e;
}

try {
await execAsync('LOAD httpfs');
} catch (e) {
if (this.logger) {
console.error('DuckDB - error on loading httpfs', {
e
});
}

// DuckDB will lose connection_ref on connection on error, this will lead to broken connection object
throw e;
}

const configuration = [
{
key: 's3_region',
Expand Down
Loading