Data Pipelines & ETL Basics for Data Analysts
How data moves from source to dashboard — ETL vs ELT, data warehouses vs data lakes, pipeline stages, Apache Airflow DAGs, Python pipeline scripts, incremental loading, and the five most common pipeline failures with fixes. Indian tech stack context throughout.
What is a Data Pipeline?
A data pipeline is an automated sequence of steps that moves data from one or more sources to a destination where it can be analysed. Every time you open a Power BI dashboard and see yesterday's numbers, a pipeline ran overnight to collect, clean, and store that data.
Data Warehouse vs Data Lake vs Data Lakehouse
Part 3 — Writing a Python ETL Pipeline
A well-structured Python pipeline follows a clear pattern: extract data from the source, validate and transform it, then load it to the destination. Each stage should be a separate function so it can be tested and debugged independently.
Part 4 — Apache Airflow: Scheduling and Orchestrating Pipelines
Airflow is the most widely used pipeline orchestration tool in India's data stack. It lets you schedule pipelines, define task dependencies, retry failed tasks automatically, and monitor pipeline health from a web UI.
Part 5 — Common Pipeline Failures and Fixes
Data Pipeline Tools — India Market Reference
Chapters 1–20 cover the full data analyst skillset — from spreadsheets to machine learning, from basic SQL to query optimisation, from descriptive statistics to A/B testing and data pipelines.
← Ch 19: Advanced SQLFrequently Asked Questions
What is the difference between ETL and ELT?
ETL (Extract, Transform, Load) transforms data before loading it into the destination. Raw data comes from source systems, is cleaned and restructured in a staging area or dedicated transformation layer, and only the processed data lands in the data warehouse. ELT (Extract, Load, Transform) loads raw data first into the destination, then transforms it there using SQL or dbt. ETL was the dominant approach when storage was expensive and warehouse compute was limited — you did not want to store messy raw data. ELT has become the modern standard because cloud data warehouses (BigQuery, Snowflake, Redshift) offer cheap storage and powerful parallel SQL compute, making in-warehouse transformation faster and more flexible. In Indian company tech stacks: legacy on-premise systems (banks, manufacturing, government) typically use ETL with tools like Informatica or SSIS. Modern startups and e-commerce companies use ELT with tools like dbt + BigQuery or Snowflake.
What is a data warehouse and how is it different from a data lake?
A data warehouse stores structured, processed, analysis-ready data in a predefined schema. It is optimised for fast SQL queries by analysts and BI tools. Examples: Google BigQuery, Snowflake, Amazon Redshift, AWS Redshift. Strengths: fast query performance, enforced data quality, governed and trusted. Weakness: less flexible — schema must be defined upfront; storing unstructured data (images, logs, free text) is difficult or expensive. A data lake stores raw data of any format — structured tables, JSON logs, CSV exports, images, audio, documents — at very low cost, typically on object storage (AWS S3, Google Cloud Storage, Azure Blob). Strengths: stores everything; handles unstructured data; retains raw history. Weakness: without governance, becomes a "data swamp" — everything is in there but nothing is easy to find or trust. A data lakehouse (Delta Lake, Apache Iceberg) combines both: lake-style storage with warehouse-style governance and query performance. Most Indian companies at scale use a combination: raw data in S3 / GCS, processed data in BigQuery or Redshift, with a dbt transformation layer in between.
Do data analysts in India need to know Apache Airflow?
For data analyst roles in India, a conceptual understanding of Airflow is increasingly expected — you should be able to read a DAG, understand what triggers a pipeline, and diagnose a failed task. Building Airflow DAGs from scratch is more of a data engineer responsibility. However, at many Indian startups and growth-stage companies, the data analyst and data engineer roles overlap, and analysts are expected to write and maintain simple Airflow DAGs (daily report pipelines, data refresh jobs). Being able to write a basic DAG sets you apart in interviews and is achievable with a week of practice. Other orchestration tools common in Indian companies: Apache Airflow (most common open-source), Prefect and Dagster (newer, more Python-native), dbt Cloud (for transformation scheduling), and cloud-native options (AWS Glue, Google Cloud Composer which is managed Airflow, Azure Data Factory).
What are the most common data pipeline failures and how do you fix them?
The five most common pipeline failures in Indian data stacks: (1) Source schema changes — an upstream team adds or renames a column and the pipeline breaks because the transformation code references the old name. Fix: schema validation at extraction, alerting on schema drift, flexible extraction that captures all columns. (2) Volume anomalies — daily orders spike on Diwali to 10x normal; the pipeline times out or runs out of memory. Fix: incremental loads instead of full refreshes; adaptive batch sizes; partitioned processing. (3) Duplicate records — pipeline reruns after a failure and inserts data twice. Fix: idempotent writes (INSERT IGNORE, MERGE/UPSERT, or delete-then-insert for the affected partition). (4) Late-arriving data — vendor sends previous day's transactions 2 hours after midnight; the 1 AM pipeline misses them. Fix: watermark-based loading with a 24-hour lookback window for recent dates. (5) Timezone issues — API timestamps in UTC, database in IST (UTC+5:30), dashboard shows wrong day boundaries. Fix: always store timestamps in UTC, convert to IST only at display layer.
EVIKA ACADEMY · NOIDA SECTOR 51
Learn Data Engineering Basics with Real Pipelines
Our advanced curriculum covers Python ETL pipelines, Airflow DAGs, BigQuery, and dbt — applied to real Indian business data with hands-on project work.
Book Free Demo Class →