This PR followed PR from Emily (Thanks!) to add support of saved query node.
TBH I don't really know what I wrote and most of the stuff probably can be better refactored into a function, but I don't really know this language so leaving a little bit headache for the future us.
You can tell how I feel by the commit but hey it works.
resolves https://github.com/dbt-labs/dbt-docs/issues/486 It also need https://github.com/dbt-labs/dbt-core/pull/10168
Description
This PR followed PR from Emily (Thanks!) to add support of saved query node. TBH I don't really know what I wrote and most of the stuff probably can be better refactored into a function, but I don't really know this language so leaving a little bit headache for the future us. You can tell how I feel by the commit but hey it works.
Checklist
changie new
to create a changelog entry