Settings

Theme

Ask HN: What is your development and testing workflow for SQL queries?

3 points by testerhn 4 years ago · 2 comments · 1 min read

Reader

What is your workflow for developing, testing and versioning SQL queries?

My company has data pipelines that query a number of databases, such as MySQL and BigQuery. The SQL queries are typically read from a file or inlined as a string.

It seems to be challenging to develop, test and reuse SQL queries as you would code in programming languages like Python or Java.

For example, I'd like to decompose queries into reusable units that can be individually tested without heavy-weight external or remote dependencies and complicated setup, have any ideas?

chanakya22 4 years ago

Please check dbt package

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection