Ask HN: How do you test SQL?
663 pointsI've been looking for resources for our data team to apply best practices for testing SQL pipelines (we use DBT) but have not found anything. How do you test SQL pipelines? What patterns, tools and best practices would you recommend? Any good reference material you know of?
Comments (315) 98 threads
Show all comments
Showing thread 9 of 98
This is easier if you have the same input every time the tests run, like a frozen database image, because then you can basically have snapshot tests.