December 2022 Summaries
3 posts from Datafold
Filter
Month:
Year:
Post Summaries
Back to Blog
Code review is a crucial quality assurance process in which team members evaluate each other's code to prevent errors and assess its impact on data, yet it is often skipped due to lack of context, insecurity, or time constraints. To ease this process, best practices such as auto-assigning code reviews and implementing a SQL linter can help automate routine tasks. GitHub's auto-assignment feature can distribute review responsibilities more evenly among team members using round-robin or load-balance routing options, allowing for a fair distribution of pull request reviews. Additionally, using a SQL linter like sqlfluff can standardize syntax and formatting, eliminating the need for discussions about superficial code details during reviews. These practices aim to share the knowledge and workload more equitably while reducing cognitive load and ensuring consistent code quality.
Dec 16, 2022
496 words in the original blog post.
The text discusses common data quality issues that arise from third-party data ingestion and data transformation processes, highlighting the challenges of managing data integrity in these contexts. It identifies third-party data as a major source of problems due to its unpredictable nature, such as changes in file formats, column names, and data values, which can lead to pipeline breakages and undetected errors. The text provides examples of how unexpected alterations in data structures can disrupt data pipelines, emphasizing the need for robust monitoring and alerting systems. Data transformation issues are also examined, with a focus on bugs resulting from incorrect technology use or misunderstood requirements, illustrating how these can lead to further data quality problems. The importance of unit testing and automated data quality monitoring tools is stressed as essential for detecting and addressing these issues, given the complexity and subtleties involved in maintaining data quality across diverse datasets.
Dec 16, 2022
1,218 words in the original blog post.
Snowflake is increasingly popular for managing data lakes, data warehouses, and general-purpose data workloads, prompting many organizations to migrate from platforms like AWS Redshift. This process involves several key steps, including planning the migration, connecting to Redshift with Python, automating SQL translation, exporting data to AWS S3, importing it into Snowflake, and validating with data comparisons. Effective planning entails evaluating Redshift configurations, data dependencies, and setting clear migration goals. Python's psycopg2 package facilitates connection to Redshift to automate DDL extraction, while automated SQL translation helps streamline code migration, preserving business logic. Tools like Datafold's Data Diff and SQL Dialect Translator assist in verifying data integrity and simplifying the conversion process, ensuring consistency and minimizing errors during migration.
Dec 05, 2022
700 words in the original blog post.