dataform icon indicating copy to clipboard operation
dataform copied to clipboard

Set query tags in Snowflake based on config tags

Open lewish opened this issue 5 years ago • 0 comments

Similar to BigQuery, you can tag queries for easier cost and performance analysis.

https://docs.snowflake.com/en/sql-reference/sql/alter-session.html

Using the tags from the config block, eg:

config {
  type: "table"
  tags: ["tag1"]
}

We can set the query tag for any query we run for better reporting.

lewish avatar Oct 07 '20 11:10 lewish