Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require (
github.com/spf13/cobra v1.6.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.13.0
github.com/strmprivacy/api-definitions-go/v2 v2.77.2-0.20230209161708-5cb1fd5f7480
github.com/strmprivacy/api-definitions-go/v2 v2.80.0
github.com/trietsch/oauth2cli v1.13.1-0.20221209222543-0e76591d5463
golang.org/x/oauth2 v0.3.0
golang.org/x/sync v0.1.0
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/strmprivacy/api-definitions-go/v2 v2.77.1 h1:ME/ai6GN+c8Sf1Ou8Ep/q+IZoisBeCu9arJGuJkcxKo=
github.com/strmprivacy/api-definitions-go/v2 v2.77.1/go.mod h1:w/9E4kfnf9vtE43sj8O/vR8h7VzHKxxMhYSbv66iwWY=
github.com/strmprivacy/api-definitions-go/v2 v2.77.2-0.20230209161708-5cb1fd5f7480 h1:JMad3B5+AidxwtP/bPBQ+nxHJ8F8JbDEMZDuZYWeCso=
github.com/strmprivacy/api-definitions-go/v2 v2.77.2-0.20230209161708-5cb1fd5f7480/go.mod h1:w/9E4kfnf9vtE43sj8O/vR8h7VzHKxxMhYSbv66iwWY=
github.com/strmprivacy/api-definitions-go/v2 v2.80.0 h1:1JypgCij1gyGhoeRN5ghVDeK+FsQqSS4z16WKCDp5Jo=
github.com/strmprivacy/api-definitions-go/v2 v2.80.0/go.mod h1:w/9E4kfnf9vtE43sj8O/vR8h7VzHKxxMhYSbv66iwWY=
github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs=
github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
github.com/thoas/go-funk v0.9.1 h1:O549iLZqPpTUQ10ykd26sZhzD+rmR5pWhuElrhbC20M=
Expand Down
2 changes: 2 additions & 0 deletions pkg/entity/data_connector/jdbc_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ func determineDatabaseType(jdbcUrl string) entities.DatabaseType {
databaseType = entities.DatabaseType_BIGQUERY
case strings.Contains(jdbcUrl, "mysql"):
databaseType = entities.DatabaseType_MYSQL
case strings.Contains(jdbcUrl, "snowflake"):
databaseType = entities.DatabaseType_SNOWFLAKE
default:
common.CliExit(errors.New(fmt.Sprintf("Unknown jdbc url (supported types: %s, %s, %s)",
entities.DatabaseType_MYSQL.String(),
Expand Down