File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
packages/cubejs-duckdb-driver/src Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -81,32 +81,6 @@ export class DuckDBDriver extends BaseDriver implements DriverInterface {
8181 const defaultConnection = db . connect ( ) ;
8282 const execAsync : ( sql : string , ...params : any [ ] ) => Promise < void > = promisify ( defaultConnection . exec ) . bind ( defaultConnection ) as any ;
8383
84- try {
85- await execAsync ( 'INSTALL httpfs' ) ;
86- } catch ( e ) {
87- if ( this . logger ) {
88- console . error ( 'DuckDB - error on httpfs installation' , {
89- e
90- } ) ;
91- }
92-
93- // DuckDB will lose connection_ref on connection on error, this will lead to broken connection object
94- throw e ;
95- }
96-
97- try {
98- await execAsync ( 'LOAD httpfs' ) ;
99- } catch ( e ) {
100- if ( this . logger ) {
101- console . error ( 'DuckDB - error on loading httpfs' , {
102- e
103- } ) ;
104- }
105-
106- // DuckDB will lose connection_ref on connection on error, this will lead to broken connection object
107- throw e ;
108- }
109-
11084 const configuration = [
11185 {
11286 key : 's3_region' ,
You can’t perform that action at this time.
0 commit comments