Introduction to SQLFlow Data Flow Chain

In this article, we will give a brief introduction to SQLFlow data flow chain.

If a result set of a subquery or CTE is used in the from clause of an upper statement, the effect of the lower result set will be transferred to the upper level.

Introduction to SQLFlow Data Flow Chain
Introduction to SQLFlow Data Flow Chain

In CTE, there is an influence relationship:

Introduction_to_SQLFlow_Data_Flow_Chain (2)

Since cteReports is used in the from clause of the upper statement, the impact will be as follows:

Introduction_to_SQLFlow_Data_Flow_Chain (3)

If the intermediate result set is ignored, the end-to-end data flow is:

Introduction_to_SQLFlow_Data_Flow_Chain (4)

Database icon:

Introduction_to_SQLFlow_Data_Flow_Chain (5)

Conclusion

Thank you for reading our article and we hope it can be helpful to you. If you want to learn more about SQLFlow, we would like to advise you to visit Gudu SQLFlow for more information. As a data lineage analysis tool, Gudu SQLFlow can not only analyze SQL script files, obtain data lineage, and perform visual display, but also allow users to provide data lineage in CSV format and perform visual display. Thanks again!

Newsletter Updates

Enter your email address below to subscribe to our newsletter