Skip to content

Commit

Permalink
materialize-databricks: cleanup leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
mdibaiee committed Nov 9, 2023
1 parent 0159002 commit 124e35d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 138 deletions.
33 changes: 0 additions & 33 deletions materialize-databricks/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,11 @@
package main

import (
/*"context"
stdsql "database/sql"
"fmt"
"os"
"strings"*/
"testing"

sql "github.com/estuary/connectors/materialize-sql"
)

/*func mustGetCfg(t *testing.T) config {
if os.Getenv("TESTDB") != "yes" {
t.Skipf("skipping %q: ${TESTDB} != \"yes\"", t.Name())
return config{}
}
out := config{}
out.Credentials.AuthType = "PAT"
for _, prop := range []struct {
key string
dest *string
}{
{"DATABRICKS_HOST", &out.Address},
{"DATABRICKS_HTTP_PATH", &out.HTTPPath},
{"DATABRICKS_CATALOG", &out.CatalogName},
{"DATABRICKS_PAT", &out.Credentials.PersonalAccessToken},
} {
*prop.dest = os.Getenv(prop.key)
}
if err := out.Validate(); err != nil {
t.Fatal(err)
}
return out
}*/

func TestValidate(t *testing.T) {
sql.RunValidateTestCases(t, databricksDialect)
}
105 changes: 0 additions & 105 deletions materialize-databricks/fence.go

This file was deleted.

0 comments on commit 124e35d

Please sign in to comment.