Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Dec 5, 2023
1 parent d660237 commit 0f419c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion flow/connectors/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,8 @@ func (c *BigQueryConnector) SetupNormalizedTables(
return nil, fmt.Errorf("destination column %s not found in source: ", existingField.Name)
}
if existingField.Name != desiredField.Name || existingField.Type != desiredField.Type {
return nil, fmt.Errorf("failed to setup normalized table due to incompatible columns: %s (destination) and %s (source)",
return nil, fmt.Errorf("failed to setup normalized table due to incompatible columns: "+
"%s (destination) and %s (source)",
existingField.Name, desiredField.Name)
}
}
Expand Down
3 changes: 2 additions & 1 deletion flow/connectors/snowflake/snowflake.go
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ func (c *SnowflakeConnector) SyncFlowCleanup(jobName string) error {
return nil
}

func (c *SnowflakeConnector) checkIfTableExists(schemaIdentifier string, tableIdentifier string) ([]protos.TableColumn, error) {
func (c *SnowflakeConnector) checkIfTableExists(
schemaIdentifier string, tableIdentifier string) ([]protos.TableColumn, error) {
rows, err := c.database.QueryContext(c.ctx, checkIfTableExistsSQL,
strings.ToUpper(schemaIdentifier), strings.ToUpper(tableIdentifier))
if err != nil {
Expand Down

0 comments on commit 0f419c0

Please sign in to comment.