Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial documentation for
thread_id
context variable (#3729)
resolves #3614 [Preview](https://deploy-preview-3729--docs-getdbt-com.netlify.app/reference/dbt-jinja-functions/thread_id) ## What are you changing in this pull request and why? dbt-labs/dbt-core#7942 / dbt-labs/dbt-core#7941 This new `thread_id` context variable works in query tags because it's set by the (Python) worker thread. ### Utility [Comment](dbt-labs/dbt-core#7942 (comment)): > @NiallRees you're my hero. > > https://getdbt.slack.com/archives/C2JRRQDTL/p1656203829761049 ## 🎩 <img width="700" alt="image" src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/11ab64e8-f257-4981-b072-aac0b7b434ed"> ## Checklist - [x] Add versioning components, as described in [Versioning Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages) - [ ] Add a note to the prerelease version [Migration Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/guides/migration/versions) - [x] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) and [About versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) so my content adheres to these guidelines. - [ ] Confirm that the bullet points are actually true - [x] ~Add page to `website/sidebars.js`~ didn't do this because it appeared unecessary - [x] Provide a unique filename for the new page --------- Co-authored-by: mirnawong1 <[email protected]>
- Loading branch information