Skip to content

Commit 9648497

Browse files
Add logging to grant_object macro for parameter tracking (#18)
1 parent c5dffa1 commit 9648497

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Data Engineers Snowflake DataOps Utils Project Changelog
22

3+
## v0.3.8.2 2025-08-15 - Stored Procedure Grants Fix
4+
5+
* added additional logging to `grant_object` macro to ensure that the correct parameters are being passed
6+
37
## v0.3.8.1 2025-07-25 - Stored Procedure Grants
48

59
* updated macro `get_grant_procedure_ownership_sql` to fix issue with parameterless procedure signature not being returned correctly

macros/grants/grant_object.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
{% set existing_grants = [] %}
66

77
{% for object in objects %}
8+
{% do log("processing " ~ grant_types ~ " for " ~ object ~ " for " ~ grant_roles, info=True) %}
89
{% set query %}
910
show grants on {{ object_type }} {{ target.database }}.{{ object }};
1011
{% endset %}

0 commit comments

Comments
 (0)