Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Apr 22, 2024
1 parent 242d08e commit f432857
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/snowflake/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (
)

// addPrefixToTableName will take a [types.TableIdentifier] and add a prefix in front of the table
// This is necessary for `PUT` commands. The fq name looks like <namespace>.<tableName>
// Namespace may contain both database and schema.
// This is necessary for `PUT` commands.
func addPrefixToTableName(tableID types.TableIdentifier, prefix string) string {
return tableID.WithTable(prefix + tableID.Table()).FullyQualifiedName()
}
Expand Down

0 comments on commit f432857

Please sign in to comment.