Data Engineering Fundamentals: Pipelines, ELT & Orchestration

Data Engineering Fundamentals: Pipelines, ELT & Orchestration

Data engineering moves data reliably from source systems to the people and applications that use it. Modern data pipelines often follow ELT: extract data, load it into a warehouse or lakehouse, then transform it. Orchestration coordinates these steps, while testing, monitoring and governance keep the results trustworthy.

What is data engineering?

Data engineering is the discipline of designing and operating systems that collect, store, transform and deliver data for analytics, business applications and AI. It covers the entire data lifecycle, not just moving records between databases.

A practical way to understand an ELT-oriented data engineering workflow is through five stages: generation, ingestion, storage, transformation and serving. This sequence illustrates a common implementation pattern rather than a universal order for every data architecture.

Lifecycle stagePurposeExample
GenerationProduce data in source systemsTransactions, application events, CRM records
IngestionMove data into a processing environmentAPI connectors, batch extraction, CDC
StorageRetain data for processing and analysisData warehouse, data lake, lakehouse
TransformationClean, combine and model dataSQL, dbt, Spark
ServingMake trusted data available to consumersBI dashboards, applications, ML features

Six cross-cutting disciplines support the data engineering lifecycle: security, data management, DataOps, data architecture, orchestration and software engineering.

ETL and ELT are integration patterns within this lifecycle, not alternatives to data engineering itself.

The discipline also involves several related roles.

RolePrimary responsibilityTypical output
Data engineerBuild reliable ingestion, storage and processing systemsProduction data pipelines
Analytics engineerTransform data into tested, documented business modelsAnalytics-ready datasets
Data scientistExplore data and develop predictive modelsAnalyses, experiments and models

Responsibilities overlap, particularly in smaller organisations.

For enterprises, the objective is a dependable data foundation that supports consistent reporting and more advanced applications without requiring every team to build its own integrations.

How data pipelines work

A data pipeline is an automated sequence of operations that moves data from one or more sources into a usable destination. It may extract records, validate schemas, transform values, store results and publish datasets for downstream applications.

A common ELT-oriented pipeline follows this sequence:

Sources → ingestion → storage → transformation → serving

Orchestration, testing, security and monitoring operate across the entire pipeline.

For example, an e-commerce business might combine order records from an ERP system with customer activity from an application. The resulting pipeline produces a governed revenue dataset for business intelligence.

The pipeline must account for late-arriving records, duplicate events, source changes and failed processing jobs.

Batch vs micro-batch vs streaming

The appropriate processing model depends on how quickly the business needs updated information.

ApproachHow it worksTypical useMain trade-off
BatchProcesses data at scheduled intervalsDaily financial reportsEfficient, but higher latency
Micro-batchProcesses small groups of records frequentlyDashboards updated every few minutesBalance between latency and complexity
StreamingProcesses events continuously or near real timeFraud detection, operational eventsLower latency, greater operational complexity

Batch pipelines are often sufficient for reporting and financial analysis.

Streaming becomes useful when decisions must respond to events within seconds or when continuous event processing offers a clear business advantage.

Technologies such as Apache Kafka, Apache Flink and Spark Structured Streaming support event-driven processing, but adopting them does not automatically improve business outcomes.

Change data capture (CDC)

Change data capture identifies changes made to source records and propagates them to downstream systems.

Log-based CDC can read database transaction logs rather than repeatedly extracting entire tables.

Tools such as Debezium support this approach, including the capture of inserts, updates and deletes.

CDC can reduce extraction overhead and improve data freshness, but it introduces additional responsibilities. Pipelines must preserve event ordering where required, handle duplicates and propagate deletions correctly.

ETL vs ELT: Differences and when to use each

ETL transforms data before loading it into the target system. ELT loads data first and performs transformations inside the destination, usually a cloud data warehouse or lakehouse.

ELT is common in modern cloud architectures because scalable processing engines allow organisations to retain source data and create multiple downstream models. ETL remains useful when transformation, validation or removal of sensitive information must occur before data reaches the destination.

DimensionETLELT
Processing orderExtract → Transform → LoadExtract → Load → Transform
Transformation locationIntermediate processing layerDestination warehouse or lakehouse
Raw data availabilityOften limited in the targetUsually retained in a controlled raw layer
ReprocessingMay require new extractionCan reuse retained source data
InfrastructureExternal transformation resourcesDestination compute resources
Data protectionCan remove sensitive fields before loadingRequires controls over the raw destination

Neither approach is universally better.

ELT provides flexibility when multiple teams need different transformations of the same source data. It can also simplify the architecture by using the processing capabilities already available in platforms such as Snowflake, BigQuery and Databricks.

However, retaining raw data creates governance and storage responsibilities.

Teams must decide which source fields are necessary, who can access them, how long they should be retained and whether they can be processed in the target environment.

When ETL or a hybrid approach is better

ETL remains appropriate when data must be transformed before it enters a particular storage environment.

Common reasons include sensitive personal information, legacy integrations, bandwidth constraints and strict destination schemas.

A practical compromise is a hybrid EtLT pattern:

Extract → lightweight transformation → Load → further transformation

For example, ingestion may remove unnecessary personal identifiers and validate essential fields before loading data into a cloud warehouse. More extensive analytics transformations happen afterwards.

This preserves much of ELT’s flexibility while reducing unnecessary exposure of sensitive data.

The right architecture depends on the organisation’s processing purposes, legal obligations and security controls. GDPR does not require every organisation to use ETL, nor does it prohibit storing personal data in a properly governed raw layer.

Reverse ETL and zero-ETL

Reverse ETL moves modelled data from an analytical environment into operational systems such as CRM or marketing platforms. It helps operational teams use governed customer segments or business metrics.

Zero-ETL describes integrations intended to reduce the need to build and maintain traditional extraction pipelines. It does not mean that data movement, transformations or operational responsibilities disappear.

Both approaches can simplify specific use cases, but their governance, portability and integration limitations still need evaluation.

Data warehouse, data lake or lakehouse?

The storage layer determines how data is organised, queried and governed. Data warehouses optimise analytical queries, data lakes retain varied data in object storage, and lakehouses combine lake storage with table-management capabilities.

ArchitectureMain characteristicsTypical technologies
Data warehouseManaged analytical tables and SQL workloadsSnowflake, BigQuery, Amazon Redshift
Data lakeObject storage for structured and unstructured dataAmazon S3, Azure Data Lake Storage, Google Cloud Storage
Data lakehouseLake storage with transactional table formats and analytical processingDatabricks, Apache Iceberg, Delta Lake

Modern platforms can combine characteristics of more than one category, so these distinctions are architectural rather than rigid vendor classifications.

Open table formats such as Apache Iceberg and Delta Lake add capabilities including transactional updates, schema evolution and access to previous table versions.

They can also support row-level deletion, although removing a record from the current table state does not necessarily remove its older physical copies immediately.

The medallion architecture: Bronze, silver and gold

A common lakehouse design divides data into three logical layers.

  • Bronze: Ingested source records, retained with appropriate access and retention controls.
  • Silver: Cleaned, deduplicated and validated datasets.
  • Gold: Business-ready models and aggregations used by analytics and applications.

This separation makes transformations easier to trace and test.

However, a bronze layer should not become an unrestricted archive of every field extracted from production systems.

Personal data minimisation and access restrictions may need to apply before ingestion, not only when building silver and gold datasets.

Transformation with dbt

dbt (data build tool) allows analytics engineers to develop SQL transformations as version-controlled, tested and documented models.

The ref() function declares dependencies between models, helping dbt determine execution order and construct lineage information.

Common materialisations include views, tables and incremental models.

dbt also provides built-in generic tests such as unique, not_null, accepted_values and relationships.

Combined with Git, code review and CI/CD, these capabilities help teams manage analytical transformations using established software engineering practices.

The resulting business models can feed a data mart or a semantic layer. Webellian’s guide to building a cloud analytics layer with data marts explores that serving architecture in more detail.

Data orchestration: Coordinating pipelines at scale

Data orchestration coordinates pipeline dependencies, execution, retries and recovery. Unlike a simple schedule, an orchestrator can manage workflows according to whether required tasks or datasets have completed successfully.

Many orchestration systems represent workflows as a directed acyclic graph (DAG).

A DAG defines tasks and their dependencies, ensuring that processing follows the required order without circular dependencies.

For example:

Extract orders → Validate schema → Transform orders → Run quality tests → Publish dataset

If validation fails, the pipeline should not publish untrusted data simply because the next scheduled time has arrived.

Orchestration vs cron scheduling

Cron can launch a script at a specific time, but scheduling alone does not guarantee that upstream data has arrived or that previous processing completed successfully.

Modern orchestration adds capabilities such as:

  • Dependency management and data-aware triggers.
  • Configurable retries, timeouts and failure handling.
  • Execution history, monitoring and alerting.
  • Historical reprocessing through backfills.
  • Coordination across databases, cloud services and transformation engines.

Apache Airflow, for example, supports both time-based and asset-aware scheduling.

Orchestration should coordinate processing rather than become the location where all business transformation logic is implemented.

Designing recoverable data pipelines

Reliable orchestration requires several engineering practices.

Idempotency means that rerunning an operation with the same input produces the same intended result.

For example, an incremental pipeline may use a controlled MERGE operation rather than repeatedly appending the same records.

Backfills allow teams to reprocess historical periods after a transformation changes or source data arrives late.

Retries handle temporary failures, such as network interruptions. They should include reasonable limits and backoff rather than repeat indefinitely.

Data-aware scheduling starts downstream processing when the required input is available, instead of assuming that it arrives at a fixed time.

These practices become essential when data pipelines must recover automatically without creating duplicates or publishing inconsistent results.

Airflow vs Dagster vs Prefect

OrchestratorApproachStrengthConsider when
Apache AirflowPython-defined DAGs and tasksEstablished ecosystem and extensive integrationsManaging diverse, scheduled enterprise workflows
DagsterAsset-oriented orchestrationDataset dependencies, asset metadata and checksData products and asset-centric workflows
PrefectPython-native flows and tasksFlexible workflow definitions and executionTeams favouring Python-driven orchestration
Cloud-native servicesManaged workflows and integrationsReduced infrastructure managementWorkloads concentrated in one cloud

Managed cloud alternatives include Azure Data Factory, AWS Step Functions and Google Cloud Workflows.

For SQL-focused ELT, the dbt platform’s built-in job scheduling may be sufficient without introducing a separate general-purpose orchestrator. Teams using dbt Core need an external scheduling mechanism, such as cron or Airflow, to run transformations automatically.

Tool selection should reflect workflow complexity, team skills, governance requirements and operational ownership. A familiar, maintainable system is often more valuable than the platform with the longest feature list.

Building reliable data pipelines

Data pipelines need production-level reliability because incorrect data can damage business decisions without causing an obvious application failure. Automated validation, data contracts, freshness objectives and observability help teams detect issues before they reach consumers.

Important quality dimensions include:

DimensionWhat it measuresExample check
FreshnessWhether data arrives on timeOrders updated before the reporting deadline
CompletenessWhether expected records are presentDaily transaction count meets expectations
ValidityWhether values follow defined rulesCurrency code belongs to an approved set
UniquenessWhether duplicate records existOrder IDs are unique
ConsistencyWhether related datasets agreeOrder totals reconcile with financial records

Tools such as dbt tests, Great Expectations and Soda can automate relevant checks.

The objective is not to test every column equally. Validation should prioritise data that affects important decisions or downstream processes.

Data contracts and schema drift

A data contract defines expectations between a data producer and its consumers.

It may specify required fields, data types, business meaning, delivery expectations and procedures for introducing changes.

This becomes important when upstream applications evolve.

A renamed field or changed data type can silently break a transformation even when extraction itself succeeds.

Schema drift detection identifies such changes. Depending on the impact, a pipeline can reject the change, apply a compatible schema evolution or quarantine affected data for review.

Contracts are most effective when enforced through automated tests and agreed ownership, rather than maintained as documentation alone.

Freshness SLOs and data observability

Data reliability can be measured with service level objectives (SLOs).

For example:

At least 99% of business days, the orders reporting dataset must be ready by 06:00.

This objective requires a precise definition of readiness, the relevant business-day calendar and the measurement period.

When the target is threatened, teams need evidence showing whether the problem originated in source delivery, ingestion, transformation or publication.

Data observability combines pipeline execution information, quality checks, freshness measurements and lineage to support that investigation.

OpenLineage provides a standard for describing relationships between jobs, runs and datasets.

A useful protective measure is to stop publication to the gold layer when critical validation checks fail. This prevents an apparently successful pipeline run from distributing known incorrect data.

Data engineering under GDPR and DORA

Enterprise data engineering must account for data protection, operational resilience and supplier governance. A technically successful ELT pipeline can still create unacceptable risks if it copies unnecessary personal information, loses track of downstream records or lacks controls over third-party processing.

GDPR: Minimisation, erasure and data location

The General Data Protection Regulation (GDPR) requires personal data processing to follow principles including data minimisation, purpose limitation and appropriate security.

Article 17 establishes a right to erasure in specified circumstances, subject to legal exceptions.

For data engineering, these requirements affect ingestion, storage, transformation and retention.

Requirement or concernPractical pipeline control
Data minimisationSelect necessary fields and filter unnecessary personal information during ingestion
Restricted accessApply role-based permissions and appropriate masking
Erasure requestsPropagate applicable deletions through downstream datasets and derived stores
RetentionSet and enforce retention rules across data layers
International transfersAssess processing locations, transfer mechanisms and service providers
AccountabilityMaintain lineage, access records and processing documentation

Open table formats can support deletion workflows, but they require careful configuration.

In Delta Lake, deletion vectors can mark rows as logically deleted without immediately removing their data from the underlying files. When deletion vectors are used, Databricks recommends REORG TABLE … APPLY (PURGE) to rewrite the affected files, followed by VACUUM after the applicable retention period to remove obsolete data files.

Apache Iceberg similarly requires appropriate snapshot and file-maintenance procedures.

A complete deletion process must also consider source copies, backups, derived datasets and any downstream systems.

Data residency is another architectural consideration. Choosing an EU cloud region may support particular requirements, but GDPR does not establish a universal EU-only storage obligation. International transfers and supplier processing must be assessed according to the applicable rules.

DORA and operational resilience

The Digital Operational Resilience Act (DORA), Regulation (EU) 2022/2554, has applied to relevant EU financial entities since 17 January 2025.

For financial entities within DORA’s scope, its ICT risk-management framework makes resilience, monitoring, recovery and third-party oversight relevant across the data platform, with particular importance for pipelines supporting critical or important functions.

Data engineering controls can support these responsibilities through:

  • Documented system dependencies and data lineage.
  • Controlled deployment and recovery procedures.
  • Monitoring of critical pipeline failures and delays.
  • Audit trails for data changes and processing.
  • Assessment of relevant ICT service providers.

Article 28 also establishes requirements concerning ICT third-party risk management, including a register of information about contractual arrangements for ICT services.

Whether a particular data-platform service falls within the relevant arrangements must be assessed in context.

Neither a specific data warehouse nor a set of automated tests guarantees DORA or GDPR compliance.

This section provides general information, not legal advice.

Data pipelines for AI and machine learning

AI systems depend on the same data engineering foundations as business intelligence: reliable ingestion, validation, transformation and traceable data sources.

Machine learning workflows often use feature pipelines that transform operational records into model inputs.

A common vector-based RAG pipeline ingests documents, splits them into chunks, generates embeddings and indexes them for retrieval. However, RAG can also use keyword-based or hybrid retrieval, so not every implementation requires embeddings.

These workflows require attention to data freshness, source permissions, document versioning and deletion propagation.

A model can produce an incorrect or outdated answer even when its application infrastructure operates normally, simply because its source data is incomplete or stale.

For broader architectural guidance, see Webellian’s article on building an AI-ready data foundation.

FAQ: Data engineering fundamentals

What is data engineering in simple terms?

Data engineering is the process of building systems that collect, organise, transform and deliver data reliably. It creates the foundation used by business intelligence, analytics and AI applications.

Is ETL part of data engineering?

Yes. ETL is a data integration approach used within the broader data engineering lifecycle. ELT is another approach that performs transformations after loading data into the target system.

What is the difference between ETL and ELT?

ETL transforms data before loading it into the destination. ELT loads data first and transforms it within the warehouse or lakehouse. The choice depends on architecture, processing needs and data governance requirements.

What is data orchestration?

Data orchestration coordinates pipeline execution, dependencies, retries and recovery. It ensures that processing steps run in the required order and that failures can be investigated and handled.

What is the difference between Airflow and Dagster?

Airflow primarily organises workflows around tasks and DAGs. Dagster emphasises data assets, their dependencies and associated metadata. Both can orchestrate complex data pipelines.

What is the medallion architecture?

The medallion architecture separates data into bronze, silver and gold layers. Bronze contains ingested data, silver contains cleaned and validated datasets, and gold contains business-ready models.

What is the difference between a data lake and a lakehouse?

A data lake stores data in object storage. A lakehouse adds table-management capabilities such as transactions, schema evolution and versioning to support more structured analytical workloads.

How can organisations make data pipelines GDPR-ready?

They should minimise unnecessary personal data, control access, document processing purposes, enforce retention requirements and design deletion workflows across downstream systems. The necessary measures depend on the specific processing activities.

Sources

https://www.oreilly.com/library/view/fundamentals-of-data/9781098108298

https://www.ibm.com/think/topics/elt-vs-etl

https://www.ibm.com/think/topics/etl

https://www.ibm.com/think/topics/real-time-data-integration

https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/dags.html

https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/asset-scheduling.html

https://dagster.io/docs/guides/build/assets

https://www.prefect.io/docs/v3/concepts/flows

https://docs.getdbt.com/docs/build/data-tests

https://docs.getdbt.com/docs/build/materializations

https://iceberg.apache.org/docs/latest/maintenance

https://docs.databricks.com/aws/en/ldp/gdpr

https://docs.databricks.com/aws/en/delta/vacuum

https://eur-lex.europa.eu/eli/reg/2016/679/oj/eng

https://eur-lex.europa.eu/eli/reg/2022/2554/oj/eng

Translate »