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
Earlier commentsBut my app is for six users at one site, it’s not mission critical, and the sqlite DB is backed up hourly.
Life’s too short for (unnecessary) testing.
Learn to use IMPORT TABLESPACE in MySQL or just dump and import SQL.
Every time you run a test you set up the mock databases again.
All comments shown.
Couldn't load more comments. Check your connection and try again.