4 ms·
Sure a full fledged programming stack will obviously have a more mature tdd facilities. this if you choose to write sql . sql vs spark is probably a discussio
by mythhouse 4y ago
Sure a full fledged programming stack will obviously have a more mature tdd facilities. this if you choose to write sql .
sql vs spark is probably a discussion for another time :0
> This just looks like a messier, more unclear way to test some SQL.
As a software engineer I've written my own share of unit tests. They are supposed to be documentation of how a unit might work but it rarely ever works in that way.
I found that to be more true for CSV tests for sql
https://github.com/EqualExperts/dbt-unit-testing#different-ways-to-build-mock-values https://github.com/EqualExperts/dbt-unit-testing#different-w...
because they are always in the same format , input csv -> output csv
I am more motivated to look at the tests to see what sql is doing. Its pretty straight forward.