It is common for many companies to encounter situations where sales figures presented in management meeting materials do not match the totals aggregated by department, leaving teams unable to immediately explain the origin of those numbers.
Data passes through multiple systems, undergoing repeated processing and aggregation before reaching the final report. The concept of recording and tracing this path is known as "Data Lineage." With the increasing importance of ensuring data quality and the expansion of AI (Artificial Intelligence) utilization, this concept is gaining renewed attention.
This article introduces the fundamental concepts and mechanisms of data lineage, its primary use cases, and the challenges and steps involved in its implementation.
What Is Data Lineage?
Data lineage is a mechanism that records and visualizes where data originated, which systems it passed through, how it was processed, and where it currently resides. In Japanese, it is also referred to as "data genealogy" or "data provenance."
Google Cloud describes data lineage as a "map of the data lifecycle" (from Google Cloud "What is data lineage?" https://cloud.google.com/discover/what-is-data-lineage). It indicates the path from the data's origin to its current location and serves as an audit trail.
The main features of data lineage are as follows:
- Bidirectional Tracking of Upstream and Downstream
You can verify both the "upstream" path, which traces the origin of the data, and the "downstream" path, which traces where the data is used. By tracing upstream, you can identify the source of errors, and by tracing downstream, you can understand the scope of impact caused by changes.
- Granularity Selection
There are methods to show the flow at the table level and methods to show the details of transformations at the column level. While column-level tracking is highly detailed, it is considered more difficult to acquire. It is common to select the granularity according to your specific objectives.
- Distinction Between Design-Time and Run-Time
There is "Design-Time Lineage," which is read from design documents or transformation code, and "Run-Time Lineage," which is obtained from actual processing logs. The former represents the intended flow, while the latter shows the flow that actually occurred.
- Difference From "Provenance"
The concept focusing on the origin and authenticity of data is called "Data Provenance." Data Lineage differs in that it covers the entire path, including intermediate processing and movement, in addition to the origin.
Main Use Cases for Data Lineage
Data Lineage is said to be effective in the following scenarios.
- Investigating Causes of Numerical Discrepancies or Errors
When an error is found in report figures, tracing back to the upstream processes allows you to narrow down the source of the issue. Even in investigations spanning multiple systems, it is possible to identify the scope of verification in a short amount of time.
- Impact Analysis During System Changes
Before deleting items or changing definitions, you can identify the impact on downstream reports and business systems. Since you can notify user departments in advance, this leads to reducing the risk of operational downtime caused by changes.
- Regulatory Compliance and Audits
In the financial sector, the Basel Committee on Banking Supervision's "BCBS 239" principles require banks to have a system capable of accurately aggregating and reporting risk data. Being able to demonstrate the path from data origin to reporting is useful for such regulatory compliance and audit scenarios.
- Management of Personal Data
Japan's Act on the Protection of Personal Information mandates the recording and verification of personal data when providing it to or receiving it from third parties (from the Personal Information Protection Commission's "Guidelines on Confirmation and Recording Obligations for Third-Party Provision" https://www.ppc.go.jp/personalinfo/legal/guidelines_thirdparty/). Data Lineage serves as a foundation for showing where contact information derived from business cards or inquiries originated and where it was transferred.
- Accountability for Data Used in AI
Article 10 of the EU AI Act mandates the management of collection processes and data origins for training data used in high-risk AI (from AI Act Article 10 https://artificialintelligenceact.eu/article/10/). The application of these high-risk AI obligations under the regulation has been postponed to December 2027 or later due to the 2026 amendment. Nevertheless, establishing the ability to explain the origin of data used in AI remains highly significant.
- Verifying the Origin of Customer Master Values
In B2B customer masters, the question arises as to whether company names or address values originate from CRM (Customer Relationship Management), SFA (Sales Force Automation), or external data. By recording the origin of values, you can explain "why this value remained" after data cleansing and integration. The approach to deciding which values to retain during integration is explained in our blog post, "What Is a Golden Record?"
We recommend consulting with professionals, such as attorneys, regarding the interpretation of laws and specific compliance measures.
Challenges of Data Lineage
While data lineage offers numerous benefits, its implementation involves several challenges.
- Gaps in Data Acquisition Coverage
Automated acquisition mechanisms may not be compatible with legacy core systems or proprietary systems. Manual processing using spreadsheet software is also difficult to capture automatically. If such gaps remain, tracking will be interrupted along the path.
- Maintaining Data Freshness
Because systems and processes change daily, lineage diagrams can quickly become outdated. It is said that manual update operations are prone to discrepancies with the current state.
- Inconsistency of Identifiers
If the same business partner is registered with different codes or notations in each system, the relationships between data cannot be traced. In B2B, variations in company name notations and differences in how branches are handled are factors that hinder tracking.
- Balance Between Granularity and Cost
Attempting to track all data at the column level increases the burden of implementation and operation. If you begin without narrowing the scope to critical data, the initiative may stall before achieving results.
Process of Building Data Lineage
Data lineage is generally built through the following process.
- Identification of Target Data
Select data with high tracking priority, such as data used for management indicators or regulatory compliance. It is recommended to start with areas that have a significant impact rather than expanding to the entire company from the beginning.
- Metadata Collection
Collect information about data (metadata), such as data location, format, update date and time, and the person responsible. Sharing information sources with the data catalog helps avoid management duplication.
- Flow Acquisition
Methods include analyzing SQL (Structured Query Language) for transformation processes or sending logs during process execution. The latter is known for the open standard "OpenLineage," managed by the LF AI & Data Foundation (from the OpenLineage Official Documentation). Parts that cannot be acquired automatically are supplemented manually by the person in charge.
- Visualization and Verification
Display the acquired flow as a diagram and verify with business personnel that it matches the actual situation. Supplementing with field expertise increases the reliability of the lineage diagram.
- Integration into Operations
Incorporate lineage verification into change management and incident response procedures. Making it a part of daily operations is considered the shortcut to maintaining its accuracy.
Roles Required to Realize Data Lineage
To establish data lineage, the following roles are necessary.
- Data Architect
Designs the entire data flow and defines common keys and tracking granularity to connect systems. As this role involves mapping the overall picture, involvement from the initial stage is crucial.
- Data Engineer
Responsible for implementing transformation processes and building mechanisms for the automatic acquisition of lineage information. Integrates these into development procedures to ensure records are not interrupted when processes are changed.
- Data Steward
Takes responsibility for the meaning and quality of data from the perspective of the business department. Verifies that the lineage diagram matches actual business operations and communicates definition changes to relevant stakeholders.
- Business Project Manager
Determines which data to prioritize for tracking based on business challenges. Also plays the role of gathering feedback from user departments and sharing the results of the initiative within the company.
Conclusion
We summarize the key points of this article in three areas: 1) Data lineage is a mechanism for recording the path of data from its source through processing to its final usage; 2) Tracking can be interrupted if there are gaps in the acquisition scope or inconsistencies in identifiers; 3) Focusing on critical data, establishing common keys, and defining operational rules are the keys to successful implementation.
Data lineage serves as the foundation for investigating the causes of numerical discrepancies, analyzing the impact of changes, ensuring regulatory compliance, and maintaining accountability for AI utilization. Success requires prioritizing tracking targets, using common identifiers to link data, and integrating these processes into daily operations. For a comprehensive overview of improving B2B data quality, please also refer to our blog post: "What Are the Three Approaches to Improving B2B Data Quality?"
Our customer data integration solution, uSonar, allows you to consolidate and manage client data scattered across various internal systems. In addition to managing customer information through our unique LBC code system, you can continuously acquire high-precision, externally sourced information. By connecting data with a common code, we contribute to building a foundation that makes it easier to track the origins and changes of your client data.
For more details, please feel free to contact us via this page.