redash icon indicating copy to clipboard operation
redash copied to clipboard

Configurable addition of Redash metadata as query tag

Open markns opened this issue 8 months ago • 0 comments

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
  1. Enable "Add Redash metadata as query tag" in Data source connection options: image

  2. Execute query image

  3. Observe alter session set query_tag command in query history view: image

  4. See query tag added to the query in query details: image

markns avatar Mar 27 '25 09:03 markns