Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hrl20 committed Apr 28, 2024
1 parent eb6968c commit d407d85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/plugin/duckdb_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ func (d *DuckDBDriver) Connect(ctx context.Context, settings backend.DataSourceI
// queryString := strings.Join(parts, "&")
// dbString := strings.Join([]string{dbPath, queryString}, "?")
log.Default().Printf("Connecting to DuckDB with %s\n", config.Path)
driver := duckdb.Driver{}
connector, err := driver.OpenConnector(config.Path)
connector, err := duckdb.NewConnector(config.Path, nil)

if err != nil {
return nil, err
Expand Down

0 comments on commit d407d85

Please sign in to comment.