Dataflow chain
https://github.com/sqlparser/sqlflow_public/blob/master/doc/get-started/dataflow-chain.md
If the resultset of a subquery or CTE is used in the from clause of the upper-level statement, then the impact of the lower level resultset will be transferred to the upper-level.
In the CTE, there is an impact relation:
Since cteReports
is used in the from clause of the upper-level statement, then the impact will carry on like this:
If we ignore the intermediate resultset, the end to end dataflow is :
diagram
Last updated