Incremental ETL Query Compilation for Stream Data Updates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing ETL processes are costly and inefficient when dealing with constantly changing input data, necessitating manual strategies for incrementalization to keep result tables up to date without reprocessing old data.

Innovation Solution

The system employs a microarchitecture-based runtime execution of ETL specifications using SQL queries, generating a dataflow graph for incremental processing and continuous integration continuous deployment (CICD) to efficiently compute transformation results, determining which results need recomputation based on query changes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If ETL processes recompute results from scratch when input data changes, then data accuracy is maintained, but computational cost and processing time increase significantly

Engineering Contradiction:
Improvedata accuracyVSAvoidcomputational efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the ETL computation process into incremental updates based on change data capture. Instead of recomputing entire result tables, the system divides computation into discrete change sets that process only modified source data portions, thereby maintaining data accuracy while reducing computational overhead

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by capturing data changes as they occur in source systems before the ETL process needs to refresh results. Change data capture mechanisms track modifications in advance, allowing the ETL pipeline to apply pre-identified changes directly to result tables without full recomputation

Inventive Principle:
Principle #10Preliminary action

2Productivity

If manual incrementalization strategies are implemented to reduce reprocessing costs, then computational overhead decreases, but system complexity and maintenance time increase

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system implements self-service by automatically detecting data changes in source systems and triggering appropriate ETL incremental updates without manual intervention. The change data capture infrastructure monitors source systems continuously and autonomously identifies when and what data has changed, eliminating the need for manual incrementalization strategy management

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback mechanisms where the ETL system continuously monitors change data capture outputs and adjusts its processing behavior accordingly. The system receives feedback about data changes and automatically modifies its computation strategy, applying incremental updates only when and where changes occur, thereby reducing complexity while maintaining efficiency

Inventive Principle:
Principle #23Feedback

3Stability of the object's composition

If full ETL reprocessing is performed to ensure data consistency, then data consistency is maintained, but processing time and resource consumption increase

Engineering Contradiction:
Improvedata consistencyVSAvoidprocessing time
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The system transitions from static full reprocessing to dynamic incremental processing. The ETL pipeline adapts its behavior based on real-time data change conditions, switching between incremental updates and full reprocessing only when necessary. This dynamic approach maintains data consistency by processing changes as they occur while minimizing unnecessary full reprocessing operations

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12517905B2Compile time processing of extract, transform, load process
Publication Date: 2026.01.06 DATABRICKS INC
  • US12517905B2 patent drawing
  • US12517905B2 patent drawing
  • US12517905B2 patent drawing

AI summary

A system receives ETL specification for processing stream data, including a transform operation represented using a database query specification. The system generates a dataflow graph of a sequence of database queries by decomposing the database query into a first database query that generates an intermediate results table, and a second database query that receives as input the intermediate results table and outputs data used for performing the transform operation. The system executes the sequence of database queries for performing the transform operation on stream data received from the source. When receiving an incremental data set, the system determines an output change set based on the received incremental data set by traversing an execution plan and processing each operator in the execution plan, and computing a change set of a particular operator from the change sets output by the one or more other operators based on the incremental data set.