Home / Companies / Datafold / Blog / June 2023

June 2023 Summaries

3 posts from Datafold

Filter
Month: Year:
Post Summaries Back to Blog
A data warehouse (DWH) serves a crucial role in data-driven organizations by storing, transforming, and enabling access to analytical data, which is vital for informed decision-making. Selecting the right DWH solution is imperative due to its centrality and the high cost of replacement, with BigQuery and Snowflake emerging as recommended options for their scalability, ease of integration, and minimal maintenance needs. These solutions allow for independent scaling of storage and compute resources, usage-based pricing models, and strong SQL support, which are essential for handling large data volumes and diverse computational tasks. While BigQuery offers a truly serverless experience with charges based on usage, Snowflake provides faster performance for repetitive queries and queries involving JOINs, despite its time-based charging model. However, organizations must carefully consider their specific requirements, such as interoperability with existing systems and the importance of speed for certain use cases, when choosing a DWH.
Jun 26, 2023 1,642 words in the original blog post.
dbt-utils is a collection of pre-written macros designed to simplify complex SQL logic in Data Build Tool (dbt) projects, offering utilities such as SQL generators, generic tests, Jinja helpers, web macros, and introspective macros. Maintained by dbt Labs with contributions from the broader data community, dbt-utils streamlines data transformations by providing reusable code snippets that help with tasks like pivoting data, generating data spines, and performing generic tests. To integrate dbt-utils into a project, users need to include the package in a `packages.yml` file and run the `dbt deps` command to install dependencies. Examples of its application include using the star macro to select fields while avoiding naming conflicts and the pivot macro to transform rows into columns for A/B test data analysis. Additionally, dbt-utils extends dbt's native testing capabilities with macros like equal_rowcount, ensuring two datasets have the same row count, and not_accepted_values, which verifies that columns do not contain specified unwanted values.
Jun 20, 2023 1,116 words in the original blog post.
The article explores optimizing the use of dbt and Snowflake, two prominent tools in the modern data stack, by detailing strategies for effective integration and data management. It emphasizes setting up distinct development and production environments using separate databases, employing Snowflake's 0-copy clones to efficiently test data models without duplicating data, and creating a shared staging database to minimize storage costs and enhance data management. The piece also advises on setting up specific user roles and permissions within Snowflake to maintain strict access control, highlighting the importance of adhering to the principle of least privilege. It suggests implementing permissions as code using tools like Permifrost to manage and automate access control, ensuring a secure and streamlined data environment.
Jun 12, 2023 1,349 words in the original blog post.