Summary
In this chapter, we saw how integrating and deploying your code can be automated. We also discussed how analytics engineering is leveraging existing practices from software engineering when it comes to using CI/CD for automated tests and deployment to ensure code quality and delivery promptly. Testing code for formatting, compilation errors, and unit testing functions and macros is an essential part of testing your code before deploying to production.
In this chapter, we introduced the paradigm of DataOps, its ideas and principles, and how it is strongly influenced by practices from software engineering. Then, we introduced the concept of CI, discussed the necessity of testing your code for formatting issues, compilation and runtime errors, and covered unit testing your functions and macros. Next, we talked about CD, the concept of state comparison and idempotency, and enabling Slim CI/CD runs in dbt Cloud using state deferral to reduce costs and time. Lastly, we briefly...