Data Quality
166 subscribers
63 photos
3 videos
4 files
67 links
DQ about data qa
Download Telegram
Data Quality at Work!

Data Stewards set the rules of the game ๐Ÿ“œโš–๏ธ
Data Quality Engineers build the playing field ๐ŸŸ๐Ÿ› 
Data Quality Analysts track performance on the scoreboard ๐Ÿ“ˆ๐Ÿ“‘๐Ÿ‘€
๐Ÿ‘3๐Ÿ‘€2
Deprecating Columns Without Losing Data

Deprecating columns can feel more complicated than dropping entire tables, especially since theyโ€™re often part of production processes. Hereโ€™s a simple, high-level plan you can adjust to fit your needs:

Process Steps:

Mark as Deprecated: Clearly label which columns you no longer need.
Check Usage: Make sure these columns arenโ€™t used in any jobs, reports, dashboards or ETL pipelines.
Notify Owners: Let all stakeholders know that these columns are being โ€œdeprecated.โ€
Plan Removal: Set up a controlled timeline to remove or isolate the column, ensuring no disruptions.

Technical Options:

Revoke Access Permissions: Remove read privileges so that queries and ETL jobs canโ€™t touch the column.
Rename & Quarantine: Give the column a clear โ€œoff-limitsโ€ name and block access to it. This makes it easy to bring back if necessary.
Data Masking or Security Policies: Use a policy to show no real data if someone queries the column, keeping the info safe but invisible.

Key Takeaways:

1. You can โ€œdeprecateโ€ a column without actually deleting it.
2. Restricting access or using security measures keeps data safe and recoverable.
3. A careful, step-by-step approach keeps everything running smoothly while you deprecate unnecessary columns.

Adopt these ideas, keep control, and ensure a smooth transitionโ€”even when itโ€™s just one column at a time.
๐Ÿ”ฅ4
This media is not supported in your browser
VIEW IN TELEGRAM
#Friday, and on your way home, you realize you forgot to do a crucial check in the data pipeline fix.
๐Ÿ˜2๐Ÿ’ฏ2๐ŸŽƒ1
PII vs PD

Today I faced discussion PII (Personally Identifiable Information) vs Personal data. It is not crucial topic for Data Quality but we should be familiar with difference. I think that this picture helps
๐Ÿ‘6
๐Ÿ›  Soda Checks and YAML Files: Avoid Common Pitfalls ๐Ÿš€
Working with Soda checks? Here's a quick guide to avoid errors when dealing with YAML files:

Why the YAML Format Can Be Tricky
Soda checks rely heavily on YAML files, but YAML's simplicity can be deceptive:

- Even minor indentation mistakes or syntax errors can break execution.
- Pushing an invalid file can waste time and resources.
How to Avoid Issues
1. Validate YAML Syntax
Use Pythonโ€™s yaml.safe_load() to verify the file is valid YAML.
Example:

import yaml
with open("your_file.yaml", "r") as file:
try:
yaml.safe_load(file)
print("YAML format is valid.")
except yaml.YAMLError as e:
print(f"YAML syntax error: {e}")

2. Check SODA-Specific Validity

Use Sodaโ€™s internal parsing method to ensure the file meets Sodaโ€™s requirements:

from soda.scan import Scan

scan = Scan()
with open("your_file.yaml", "r") as file:
yaml_str = file.read()
scan._parse_sodacl_yaml_str(yaml_str, "your_file.yaml")

if scan.has_error_logs():
print("SODA-specific errors detected!")
else:
print("SODA check file is valid.")

Full Script
For a complete solution, check out this script: Full Gist Here

By incorporating these checks, you can confidently push your YAML files without worrying about syntax or formatting errors.

Happy testing! ๐ŸŽ‰
๐Ÿ”ฅ4โค3
#Friday so true.
๐Ÿ‘5๐Ÿ˜3
#Friday. Happy New Year!
๐Ÿฅฐ6๐ŸŽ„3
As usual new year brings a lot of task but there is time for meme on #Friday
๐Ÿคฃ8๐Ÿ‘1๐Ÿ’ฏ1
#DataQuality News ๐Ÿ“ฐ
In a moment when the tech world is buzzing about massive investments in OpenAI and the future of AI-driven analytics, itโ€™s more important than ever to ensure that data quality is rock-solid. After all, sophisticated AI models are only as reliable as the data theyโ€™re trained on.

Introducing DQX by Databricks Labs
If youโ€™re working with massive datasets on Spark and Databricks, you know how crucial data quality checks are for building trust in your analytics and AI pipelines. The newly released DQX (Data Quality eX) from Databricks Labs is the latest open-source framework designed to simplify and automate data quality in Spark environmentsโ€”especially for Databricks and Delta Lake users.
Key Highlights of DQX
โ€ข Databricks-Centric: Built to integrate closely with Delta Lake, Unity Catalog, and potentially Delta Live Tables, giving you a more seamless data-quality workflow on the Databricks platform.
โ€ข Scalable Checks: Leverages Spark for distributed validations, meaning it can handle large-scale datasets without slowing down your pipelines.
โ€ข Modular Design: Early documentation shows it supports easy creation of custom or out-of-the-box checks, letting you tailor validations to your data.
โ€ข Lab Status: Since itโ€™s a Databricks Labs project, expect frequent updates and possible changes in APIs or features as it matures.

But Waitโ€”There Are Other Options ๐Ÿคš
When it comes to data quality on Spark, DQX isnโ€™t your only choice:
Amazon Deequ โ˜๏ธ
โ€ข Maturity: A widely adopted, production-ready Spark library from AWS.
โ€ข Key Feature: Boasts automated โ€œConstraint Suggestion,โ€ which inspects your data and suggests potential quality rules.
โ€ข Ideal For: AWS-centric teams or anyone seeking a well-documented, proven Spark-based solution.
Spark-Expectations (Nike) โ‡๏ธ
โ€ข Approach: Uses a decorator pattern to validate data โ€œin-flightโ€ (as the Spark job runs) and โ€œat-restโ€ (on existing tables).
โ€ข Key Features:
โ€ข Performs both row-level and aggregated checks in a single framework.
โ€ข Automatically quarantines records that fail one or more rules into an _error table, complete with rich metadata (failed rule details, job info, etc.).
โ€ข Provides aggregated metrics in a _stats table to avoid recalculation.
โ€ข Offers flexible action_if_failed options for each rule (e.g., fail the job, drop the row, or simply log the error).
โ€ข Ideal For: Teams needing a PySpark-based framework that does real-time or batch validations and applies immediate actions (like quarantining) based on rule failures. Itโ€™s especially useful for those who want to prevent malformed data from ever reaching downstream consumers.
While DQX could become the go-to solution for Databricks users, Amazon Deequ and Spark-Expectations remain strong alternativesโ€”especially if you need a more mature ecosystem or a broader Spark distribution outside Databricks. As always, choose the tool that best aligns with your platform, team expertise, and specific data-quality requirements.
P.S. I mentioned only spark focused tools. For sure Soda and GX has integration with spark as well
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘3โœ1
undoubtedly. Databricks is master to generate name for products. #Friday
๐Ÿ‘5๐Ÿ’ฏ2
Not meme but future on #Friday
๐Ÿ‘5
High-Level Data Quality Assurance (DQA) Process & Tools

Ensuring high-quality data is critical for analytics, decision-making, and ML applications. Here's a high-level DQA process along with tools for each stage:

1๏ธโƒฃ Data Sources

Managed by Data Engineers, data comes from:

Data Warehouse
Data Lake
Database

2๏ธโƒฃ Data Testing

Led by Data QA, this phase ensures data accuracy and reliability.

๐Ÿ” Profiling (understanding data structure, distribution, and anomalies)
๐Ÿ›  Tools:
โœ… PandasProfiling
โœ… Soda Core

๐Ÿ›  Generate Test (define validation checks for completeness, accuracy, consistency)
โœ… PandasProfiling for GreatExpectations
โœ… Deequ (by AWS)
โœ… Hands and Brain

โš™๏ธ Test Execution (automated tests, anomaly detection)
๐Ÿ›  Tools:
โœ… Soda
โœ… GreatExpectations
โœ… Deequ

3๏ธโƒฃ Data Quality Insights

This step helps Data QA, ML, and PMs monitor and visualize data quality.

๐Ÿ“Š Data Quality Metrics (track KPIs, identify patterns)
๐Ÿ“ˆ Data Quality Dashboards (visualizing test results, reports)
๐Ÿ›  Tools:
โœ… Metabase
โœ… SuperSet
โœ… Tableau

By integrating these tools, teams can automate, monitor, and improve data quality at scale. ๐Ÿš€
๐Ÿ‘4โค1
#Friday again
๐Ÿคฃ4
Interesting read for all Data Quality Leaders โ€“ I found this article on ROI that you should check out: ROI Trap by Matt Wood.

Why is it important? Just like with QA, calculating ROI for Data Quality (DQA) initiatives isnโ€™t straightforward. Traditional metrics might miss the transformational benefits of data quality improvements โ€“ think better decision-making, enhanced compliance, and improved customer trust.

Here are a few ways you can leverage this article to deepen your understanding of ROI for data quality:

โ€ข Broaden Your Metrics:
Donโ€™t limit your evaluation to direct cost savings. Consider indirect benefits like reduced data errors, improved analytics, and faster, more accurate business insights.

โ€ข Embrace a Holistic Approach:
Just as the article illustrates with technology transitions, recognize that the true value of high-quality data goes beyond immediately measurable savings. Look at impacts on innovation, employee productivity, and strategic agility.

โ€ข Start Small & Scale:
Consider pilot projects in key departments. Use these as case studies to build a broader ROI framework that incorporates both quantitative and qualitative benefits.

โ€ข Shift Your Mindset:
Move from a restrictive โ€œcost vs. savingsโ€ view to an enablement perspective. Understand that investing in data quality is about building a foundation for long-term business transformation.

Check out the article and let it inspire a fresh perspective on how to approach ROI in data quality!
๐Ÿ’ฏ3โœ1๐Ÿ‘1
GenAI Agents are emerging as an important area in AI research, with many experts anticipating notable advancements in 2025. In this context, maintaining high data quality is essential to ensure these agents perform effectively and reliably.

Below are a few resources that provide a clear overview of GenAI Agents and emphasize the significance of robust data practices:

โ€ข Google GenAI Agents 101 White Paper
This white paper introduces the fundamentals of GenAI Agents and discusses the role of data quality.
๐Ÿ”— Google GenAI Agents 101 White Paper

โ€ข GenAI Kata
A GitHub resource that supports the design and architecture of GenAI Agents, with a focus on building strong data pipelines.
๐Ÿ”— GenAI Kata on GitHub

โ€ข List of GenAI Agents
A curated list of GenAI Agents that serves as examples of various implementations
๐Ÿ”— List of GenAI Agents

โ€ข Building Effective Agents from Anthropic
This resource outlines methodologies for creating effective agents
๐Ÿ”— Building Effective Agents

โ€ข Crash Course on GenAI Agents
A video guide offering a clear explanation of GenAI Agents
๐Ÿ”— Crash Course on GenAI Agents

These resources are well-suited for anyone looking to explore the technical and practical aspects of GenAI Agents
๐Ÿ”ฅ3๐Ÿคฏ1
Your data quality team is waiting for you on #Friday
๐Ÿ‘5
Scared #Friday
๐Ÿ˜10๐Ÿ‘2
๐Ÿš€ DataHub 1.0 is Finally Here!

Great news for everyone passionate about Data Quality! DataHub officially released version 1.0, packed with powerful enhancements:

๐Ÿ”ฅ Improved Data Lineage Visualization
Clearly understand your data flow with enhanced visualization. Easily track data origins, transformations, and impacts, so you always trust your data.

๐Ÿ” Enhanced Search Functionality
Find your datasets and metadata quicker than ever with improved search, filters, and intuitive navigation.

๐Ÿ› ๏ธ Robust Metadata Management
Easily document, manage, and explore metadata with an upgraded, intuitive UI. Metadata is now more organized, accurate, and accessibleโ€”boosting your team's confidence in data reliability.

๐ŸŽฏ Why it matters:
These powerful new features help you build trust, ensure data accuracy, and accelerate your journey to reliable, high-quality data.

Dive deeper into the full announcement: ๐Ÿ‘‰ Read the full article
๐Ÿ‘4๐Ÿ‘1
๐Ÿš€ Unlocking High-Quality Dashboards at Scale โ€“ Spotify's Approach ๐ŸŽง
Spotify shares how they ensure reliable, actionable dashboards for data-driven decision-making at scale. In 2023 alone, Spotify teams created over 4,900 dashboards, actively used by 6,000+ employees.
๐Ÿ”‘ Spotifyโ€™s Dashboard Quality Framework:
- Vital Signs: Automated checks ensuring dashboards stay fresh and relevant.
- Spicy Dashboard Design Checklist: Manual best practices for impactful design, usability, insightfulness, and trustworthiness.
๐Ÿ… Dashboards are labeled (Low, High, Golden) based on quality criteria, helping users quickly identify trustworthy insights.
๐Ÿ“Œ Spotify also developed the Dashboard Portal, a centralized internal platform enhancing dashboard discoverability and providing crucial context like ownership and update frequency.
๐Ÿ‘‰ Read more
๐ŸŽฏ Interested in more on Data Quality scoring and certifications? Airbnb has an excellent deep-dive into their Data Quality Score initiative.
๐Ÿ‘‰ Check out Airbnbโ€™s article
๐Ÿ”ฅ4
๐Ÿš€ Announcing Next-Level Data Quality Management with DataHub and AI
Exciting news! DataHub is introducing integration with the Model Context Protocol (MCP), unlocking groundbreaking possibilities for data quality management!
Here's what you can expect:
โœ… Natural Language Queries: Effortlessly discover metadata by asking simple questions.
โœ… Automatic Documentation and Classification: AI-powered agents identify and document your data automatically, significantly reducing your team's workload.
โœ… Impact Analysis: Quickly see who and what will be affected by any changes in your data.
โœ… IDE Integration: Developers can instantly visualize the impact of data changes directly within their coding environment.
These new capabilities will soon be available both in DataHub Cloud and in open-source, self-hosted setups.
๐Ÿ”— Learn more about this announcement
๐Ÿ“Œ Are you excited about incorporating these AI-powered capabilities into your Data Quality processes?
๐Ÿ’ฏ3โœ2