ETL Migration - from legacy ETL to an open SQL ETL - {oa-tbx}

Once converted to SQL by {openAudit}, ETL processes run in the {oa-tbx} container, independently of the original ETL platform. {oa-tbx} runs SQL, Python, or Java processes, driven by configuration and orchestration repositories.
Why move away from proprietary ETL tools
DataStage, PowerCenter, BODS, Talend, ODI, or SSIS remain hard to evolve:
- heavy licensing and infrastructure: proprietary runtime, dedicated servers, rising maintenance costs;
- vendor lock-in: closed formats, forced upgrades, dependence on a single product roadmap;
- scarce skills: expertise concentrated in a few profiles that are hard to recruit.
{oa-tbx} addresses all three without switching to another proprietary solution.
Upstream: automatic transcription by {openAudit}
Rewriting jobs by hand means months of reverse engineering and a high risk of error. {openAudit} parses legacy ETL jobs (transformations, dependencies, parameters) and produces flat SQL, ready for {oa-tbx}.
- Reduced scope: cross-analysis of data lineage (from the ETL job down to the field) and actual usage identifies the data that is really consumed; only that data is migrated.
- Scored complexity: each job is rated from 1 to 5 (number of stages, depth, transformations) to drive the migration plan.
- Shared knowledge: the flow map remains available to teams, before and after the migration.
Example: a DataStage “Change Capture” stage (keys, excluded values, options) and the SQL generated by {openAudit}, which carries over all of its logic, with the original metadata in the header.

Principles
SQL is encapsulated in open containers, in ETL mode.
- Containers: transformations run inside an external container, {oa-tbx}, detached from the target database. Temporary containers act as intermediate storage areas where data is loaded before transformation. Jobs, and where relevant the data, are tested to guarantee integrity.
- Orchestration with Airflow: Airflow drives the execution of the containers, step by step; each transformation is defined as a job. Airflow replaces the scheduling built into market ETL tools (DataStage, Talend, Informatica, BODS, ODI, Stambia…): the migrated scheduling automatically picks up all of the original instructions and scheduling logic. When an external scheduler already drives the processes on the source side (Control-M, for example), it can be kept.

Execution chain
The processes produced by {openAudit} are integrated into a configuration repository and a control repository used by {oa-tbx}, then orchestrated by tools such as Airflow or Dagster. Orchestration (dependencies, execution parameters, schedules, triggers) stays separate from the business logic, contained in the SQL scripts and dataflows.
Execution container
Dataflows can combine SQL, Python, Java, or other languages. The engine can rely on embedded databases such as DuckDB for certain intermediate processing steps.
Sources and targets
Input data comes from any technology accessible via SQL or JDBC; results are loaded into any system compatible with standard write mechanisms.
Pipeline as Code
{oa-tbx} is driven like code, not like an ETL tool. Where a proprietary ETL relies on a graphical designer, with no usable trace and no way to replicate an environment exactly, everything is expressed as plain text in {oa-tbx}:
- jobs in SQL, Airflow DAGs in Python;
- versioned in Git;
- deployed with Terraform.
Key point: every environment can be reproduced from a single source of truth.
Benefits
SQL pipelines are open and independent of proprietary Cloud platform runtimes. Across all migrated jobs (from a few thousand to more than 50 million rows), execution times are often counted in seconds, with an almost systematic OK status.
- DuckDB: open source analytical SQL engine, embedded, with no server to administer;
- Java / Python: standard processing environment, widely tooled;
- portable SQL: readable jobs, versioned in Git, auditable line by line;
- containerized: lightweight, reproducible deployment, independent of any vendor infrastructure;
- Airflow: orchestration by a widely adopted open source standard;
- zero lock-in: no dependence on a proprietary roadmap or license to evolve the flows.

Governance and data lineage
{oa-tbx} keeps the complete trace between the original ETL logic and the executed SQL, at two levels of detail.
High-level pipeline view: only source and target tables are visible; intermediate ETL stages are grouped into a single SQL block, readable even for complex pipelines.

Detail on click for a transformation: clicking a stage (a Transformer, for example) displays its SQL equivalent, along with its inputs/outputs and its original metadata (type, stage ID).

Result: a SQL-based ETL/ELT chain, open and version-controllable, governed from the overview down to the executed SQL, regardless of the original ETL platform.