Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQuery DDL + misc DDL clean up #1058

Merged
merged 1 commit into from
Nov 19, 2024
Merged

BigQuery DDL + misc DDL clean up #1058

merged 1 commit into from
Nov 19, 2024

Conversation

Tang8330
Copy link
Contributor

No description provided.

@@ -33,11 +33,11 @@ WHERE
LOWER(TABLE_NAME) = LOWER(?) AND LOWER(TABLE_SCHEMA) = LOWER(?);`, []any{mssql.VarChar(mssqlTableID.Table()), mssql.VarChar(mssqlTableID.Schema())}, nil
}

func (md MSSQLDialect) BuildAddColumnQuery(tableID sql.TableIdentifier, sqlPart string) string {
func (MSSQLDialect) BuildAddColumnQuery(tableID sql.TableIdentifier, sqlPart string) string {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed receivers

return fmt.Sprintf("ALTER TABLE %s ADD COLUMN %s", tableID.FullyQualifiedName(), sqlPart)
}

func (rd RedshiftDialect) BuildDropColumnQuery(tableID sql.TableIdentifier, colName string) string {
func (RedshiftDialect) BuildDropColumnQuery(tableID sql.TableIdentifier, colName string) string {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed receivers

@Tang8330 Tang8330 marked this pull request as ready for review November 19, 2024 23:50
@Tang8330 Tang8330 requested a review from a team as a code owner November 19, 2024 23:50
@Tang8330 Tang8330 merged commit bbdef5e into master Nov 19, 2024
3 checks passed
@Tang8330 Tang8330 deleted the bq-ddl branch November 19, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants