Skip to content

Instantly share code, notes, and snippets.

@mattm
Last active October 1, 2018 19:34
Show Gist options
  • Save mattm/5878b63266ff8a2df9920b335526c471 to your computer and use it in GitHub Desktop.
Save mattm/5878b63266ff8a2df9920b335526c471 to your computer and use it in GitHub Desktop.
Ad Insights Primary Key
dimension: primary_key {
type: string
sql: concat(cast(${date_date} as string), ${campaign_id}, ${country}) ;;
hidden: yes
primary_key: yes
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment