We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb76509 commit df232d4Copy full SHA for df232d4
macros/utils/cross_db_utils/get_user_creation_query.sql
@@ -155,7 +155,7 @@ GRANT VIEW REFLECTION ON {{ db_type }} "{{ db_name }}" TO USER "{{ parameters["u
155
156
{% set db_name_to_type = {} %}
157
{% for row in elementary.agate_to_dicts(elementary.run_query(dremio_databases_query)) %}
158
- {% if row["database_name"] | lower in configured_dbs and (row["database_type"] not in db_name_to_type or row["database_type"] == "CATALOG") %}
+ {% if row["database_name"] | lower in configured_dbs and (row["database_name"] not in db_name_to_type or row["database_type"] == "CATALOG") %}
159
{% do db_name_to_type.update({row["database_name"]: row["database_type"]}) %}
160
{% endif %}
161
{% endfor %}
0 commit comments