Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Sep 28, 2024
1 parent b806fc5 commit a8ad83f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions clients/databricks/dialect/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ func (d DatabricksDialect) KindForDataType(_type string, _ string) (typing.KindD
return typing.KindDetails{}, fmt.Errorf("unsupported data type: %q", _type)
}

func (d DatabricksDialect) IsColumnAlreadyExistsErr(err error) bool {
// Implement the logic to check if the error is a "column already exists" error
return strings.Contains(err.Error(), "already exists")
func (d DatabricksDialect) IsColumnAlreadyExistsErr(_ error) bool {
return false
}

func (d DatabricksDialect) IsTableDoesNotExistErr(err error) bool {
Expand Down

0 comments on commit a8ad83f

Please sign in to comment.