Skip to content

Commit

Permalink
Update apply_grants.sql (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilias1111 authored and agnessnowplow committed Jul 29, 2024
1 parent 652f9f0 commit 84fab99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/incremental_hooks/apply_grants.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You may obtain a copy of the Snowplow Personal and Academic License Version 1.0
#}

{# Note this does not work for bigquery due to the role/IAM type approach they have to grants, so BQ users should not supply values to this var #}
{% macro default__apply_grants(relation, grant_config, should_revoke=True) %}
{% macro default__apply_grants(relation, grant_config={}, should_revoke=True) %}
{#
We only want to enforce this if the package user is managing grants this way - if they are doing it in database we should
pass {} so that it's a no-op
Expand Down

0 comments on commit 84fab99

Please sign in to comment.