creating all normalized tables in a single activity - #325
Conversation
| tableAlreadyExists, err := c.tableExists(normalizedTableNameComponents) | ||
| func (c *PostgresConnector) SetupNormalizedTables( | ||
| req *protos.SetupNormalizedTableParallelInput, | ||
| ) (*protos.SetupNormalizedTableParallelOutput, error) { |
There was a problem hiding this comment.
🚫 [golangci] reported by reviewdog 🐶
unnecessary leading newline (whitespace)
| }, nil | ||
| } | ||
| func (c *SnowflakeConnector) SetupNormalizedTables( | ||
| req *protos.SetupNormalizedTableParallelInput) (*protos.SetupNormalizedTableParallelOutput, error) { |
There was a problem hiding this comment.
🚫 [golangci] reported by reviewdog 🐶
unnecessary leading newline (whitespace)
| Repeated: strings.Contains(genericColType, "array"), | ||
| func (c *BigQueryConnector) SetupNormalizedTables( | ||
| req *protos.SetupNormalizedTableParallelInput, | ||
| ) (*protos.SetupNormalizedTableParallelOutput, error) { |
There was a problem hiding this comment.
🚫 [golangci] reported by reviewdog 🐶
unnecessary leading newline (whitespace)
| var createNormalizedTablesOutput protos.SetupNormalizedTableParallelOutput | ||
| if err := future.Get(ctx, &createNormalizedTablesOutput); err != nil { | ||
| s.logger.Error("failed to create normalized tables: ", err) | ||
| return nil, fmt.Errorf("failed to create normalized tables: ", err) |
There was a problem hiding this comment.
🚫 [golangci] reported by reviewdog 🐶
printf: fmt.Errorf call has arguments but no formatting directives (govet)
| Repeated: strings.Contains(genericColType, "array"), | ||
| func (c *BigQueryConnector) SetupNormalizedTables( | ||
| req *protos.SetupNormalizedTableParallelInput, | ||
| ) (*protos.SetupNormalizedTableParallelOutput, error) { |
There was a problem hiding this comment.
🚫 [golangci] reported by reviewdog 🐶
unnecessary leading newline (whitespace)
| var createNormalizedTablesOutput protos.SetupNormalizedTableParallelOutput | ||
| if err := future.Get(ctx, &createNormalizedTablesOutput); err != nil { | ||
| s.logger.Error("failed to create normalized tables: ", err) | ||
| return nil, fmt.Errorf("failed to create normalized tables: ", err) |
There was a problem hiding this comment.
🚫 [golangci] reported by reviewdog 🐶
printf: fmt.Errorf call has arguments but no formatting directives (govet)
No description provided.