Skip to content

Commit 9f64cbc

Browse files
Merge pull request #913 from elementary-data/core-261-add-identifier-as-comment-to-cloud-queries
Add Elementary component to query metadata
2 parents fb38553 + a6a636c commit 9f64cbc

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test-warehouse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
run: docker compose -f docker-compose-dremio.yml up -d
111111

112112
- name: Setup Python
113-
uses: actions/setup-python@v4
113+
uses: actions/setup-python@v6
114114
with:
115115
python-version: "3.9"
116116
cache: "pip"

macros/utils/run_queries/run_query.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
{% macro get_elementary_query_metadata() %}
3636
{% set metadata = {
3737
"invocation_id": invocation_id,
38-
"command": flags.WHICH
38+
"command": flags.WHICH,
39+
"elementary_component": var('elementary_component', 'OSS')
3940
} %}
4041

4142
{% if model %}

0 commit comments

Comments
 (0)