redash
redash copied to clipboard
Configurable addition of Redash metadata as query tag
What type of PR is this?
- [ ] Refactor
- [X] Feature
- [ ] Bug Fix
- [ ] New Query Runner (Data Source)
- [ ] New Alert Destination
- [ ] Other
Description
This PR adds optional functionality for adding Redash metadata (user, query_id, scheduled etc) as query tags in Snowflake.
How is this tested?
- [ ] Unit tests (pytest, jest)
- [ ] E2E Tests (Cypress)
- [X] Manually
- [ ] N/A
-
Enable "Add Redash metadata as query tag" in Data source connection options:
-
Execute query
-
Observe alter session set query_tag command in query history view:
-
See query tag added to the query in query details: