Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Sep 27, 2024
1 parent ad19087 commit 4af6682
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/destination/utils/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package utils
import (
"fmt"

"github.com/artie-labs/transfer/clients/databricks"

"github.com/artie-labs/transfer/clients/bigquery"
"github.com/artie-labs/transfer/clients/databricks"
"github.com/artie-labs/transfer/clients/mssql"
"github.com/artie-labs/transfer/clients/redshift"
"github.com/artie-labs/transfer/clients/s3"
Expand Down Expand Up @@ -66,12 +65,13 @@ func LoadDataWarehouse(cfg config.Config, store *db.Store) (destination.DataWare
}
return s, nil
case constants.Databricks:
store, err := databricks.LoadStore(cfg)
_store, err := databricks.LoadStore(cfg)
if err != nil {
return nil, fmt.Errorf("failed to load Databricks: %w", err)
}

return store, nil
// TODO: Sweep
return _store, nil
}

return nil, fmt.Errorf("invalid data warehouse output source specified: %q", cfg.Output)
Expand Down

0 comments on commit 4af6682

Please sign in to comment.