<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Harishankar Giri  on Medium]]></title>
        <description><![CDATA[Stories by Harishankar Giri  on Medium]]></description>
        <link>https://medium.com/@hsgiri?source=rss-d736ee17d6aa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*C5oy-QroP2kph0XRz3xM4g.jpeg</url>
            <title>Stories by Harishankar Giri  on Medium</title>
            <link>https://medium.com/@hsgiri?source=rss-d736ee17d6aa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:10:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hsgiri/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ Apache Airflow Made Simple: How Modern Data Pipelines Really Run]]></title>
            <link>https://medium.com/@hsgiri/apache-airflow-made-simple-how-modern-data-pipelines-really-run-7f73d8c41a72?source=rss-d736ee17d6aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f73d8c41a72</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[workflow-orchestration]]></category>
            <category><![CDATA[apache-airflow]]></category>
            <category><![CDATA[data-pipeline]]></category>
            <category><![CDATA[directed-acyclic-graph]]></category>
            <dc:creator><![CDATA[Harishankar Giri ]]></dc:creator>
            <pubDate>Sun, 11 Jan 2026 15:01:11 GMT</pubDate>
            <atom:updated>2026-01-11T15:11:50.583Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Logo of Apache Airflow showing a colorful pinwheel icon with the text “Apache Airflow”." src="https://cdn-images-1.medium.com/max/453/1*H-Ct-YbPUJJiVAb4Kn1Nrg.png" /><figcaption>Apache Airflow</figcaption></figure><p>Apache Airflow is an open-source orchestration platform that lets you programmatically build, schedule, and track data workflows.</p><blockquote>In modern data engineering, we rarely run just a single script. We run <em>pipelines</em>.</blockquote><p>Every time we browse products, add something to cart, place an order, or check delivery status, a lot of data is generated behind the scenes. That data doesn’t just stay in one place. It moves through different systems, gets cleaned, transformed, and finally turns into dashboards, insights, and reports.</p><p>For all of this to happen reliably, tasks need to run in the right order, at the right time, and with proper monitoring.</p><p>That’s exactly where <strong>Apache Airflow</strong> helps.</p><h3>❌ Why cron jobs and manual scripts weren’t enough</h3><p>Before Airflow, most teams relied on:</p><p>→ cron jobs<br>→ ad-hoc Python scripts<br>→ manually triggered jobs</p><p>This created several painful issues:</p><p>❌ pipelines failed silently<br>❌ no central place to monitor runs<br>❌ difficult dependency management<br>❌ retry logic had to be written manually<br>❌ email/Slack alerts had to be custom built<br>❌ messy scheduling across multiple machines<br>❌ zero visualization of the pipeline flow</p><p>As data systems grew, this approach simply didn’t scale.</p><p>That’s where <strong>Apache Airflow</strong> changed the game.</p><h3>✅ So what does Apache Airflow actually solve?</h3><p>Apache Airflow is an open-source platform used to <strong>define, schedule, and monitor workflows</strong>.</p><p>It gives you:</p><p>✅ Python-based workflow definitions<br>✅ rich web UI to see pipeline status<br>✅ automatic retries and failure handling<br>✅ clear task dependencies<br>✅ logging and monitoring<br>✅ alerts and notifications<br>✅ scalability across machines</p><p>One important clarification:</p><p>👉 Airflow <strong>does not process data</strong> itself.<br>👉 It <strong>orchestrates</strong> the tools that do the work<br>👉 Workflows in Airflow are written in <strong>Python</strong>, giving <strong>flexibility.</strong></p><p>Think of it as a <strong>pipeline manager</strong> making sure every step happens in the right order.</p><h3>🛒 A simple real-world example (e-commerce)</h3><p>Let’s take a website like an e-commerce platform.Think about daily sales reports, recommendation models, or data backups — all of these run as scheduled workflows.</p><p>Users browse products, add items to cart, wishlist items, and make payments. These activities create data, which is stored in an operational database. That data is then extracted, stored in a data lake, cleaned, transformed, and finally moved to a data warehouse where analysts build dashboards.</p><figure><img alt="Illustration of a data pipeline showing user actions generating data, extraction from source databases, movement to a data lake, cleaning and transformation, loading into a data warehouse, and final BI dashboards and reports used by analysts." src="https://cdn-images-1.medium.com/max/1024/1*-mLv8oJd-hqKzPtTTE7vpw.png" /><figcaption>End-to-end data pipeline architecture</figcaption></figure><p>This image shows:</p><p>▪ user activity and data generation<br>▪ extraction from source systems<br>▪ data lake and transformation<br>▪ loading into warehouse<br>▪ analytics and reporting layer</p><p>This is exactly the kind of real-world pipeline Airflow helps orchestrate.</p><h3>🧭 What is a DAG in Airflow?</h3><p>The heart of Airflow is something called a <strong>DAG(Directed Acyclic Graph).</strong></p><blockquote><em>A DAG is like a to-do list where some tasks must finish before others start, but nothing loops back.</em></blockquote><p>Think of it like:</p><pre>Fetch data → Clean data → Load to warehouse</pre><figure><img alt="Diagram labeled “DAG: Directed Acyclic Graph” showing three tasks in sequence: Fetch Data, Clean Data, and Load to Warehouse, connected with arrows indicating dependencies." src="https://cdn-images-1.medium.com/max/1024/1*1dL_Fv6CWqeJMohxtdLNyA.png" /><figcaption>DAG simple diagram</figcaption></figure><p>✔ Each arrow means dependency.<br>✔ Each circle is a task.</p><p>That sequence is exactly what a DAG represents.</p><h3>✅ Wrapping up</h3><p>In this post, we looked at:</p><p>✔ What Apache Airflow is<br>✔ Why older scheduling approaches were not enough<br>✔ How real-world data pipelines actually flow<br>✔ What a DAG means in simple language</p><p>Airflow brings order, visibility, and reliability to complex data workflows. It makes sure everything runs when it should — and lets you see exactly what’s going on.</p><p>In the <strong>next post</strong>, we’ll get practical:</p><blockquote><em>✔ Set up Airflow in VS Code<br>✔ Create your first Airflow project<br>✔ Write a simple DAG in Python, step by step</em></blockquote><p>Stay tuned — this is where things get hands-on 🚀</p><p><strong>🤝 Feel free to connect with me on </strong><a href="https://www.linkedin.com/in/hsgiri/"><strong>LinkedIn</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f73d8c41a72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building My First End-to-End Data Engineering Project on Azure (Olist E-commerce Case Study)]]></title>
            <link>https://medium.com/@hsgiri/building-my-first-end-to-end-data-engineering-project-on-azure-olist-e-commerce-case-study-aaeb210398e0?source=rss-d736ee17d6aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaeb210398e0</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[azure-data-engineer]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-engineer]]></category>
            <dc:creator><![CDATA[Harishankar Giri ]]></dc:creator>
            <pubDate>Sun, 07 Sep 2025 15:54:38 GMT</pubDate>
            <atom:updated>2025-09-09T00:12:49.190Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building My First End-to-End Data Engineering Project on Azure</h3><p>When I started learning data engineering, I wanted to go beyond tutorials and build something closer to the <strong>real-world pipelines used in companies</strong>. That’s how this project was born, an end-to-end <strong>Azure Data Engineering Pipeline</strong> using the popular <strong>Olist E-commerce dataset</strong> from Kaggle.</p><p><strong>The goal?</strong></p><p>Take raw data from multiple sources (SQL, NoSQL, GitHub), process it in the cloud using <strong>Azure services</strong>, and deliver <strong>analytics-ready data</strong> for dashboards and insights.</p><p>This blog walks you through how I designed, built, and automated this pipeline — step by step.</p><h3>🚀 Why This Project?</h3><p>Data in real organizations doesn’t come clean and ready. It arrives:</p><ul><li>From <strong>different sources</strong> (databases, APIs, files)</li><li>In <strong>different formats</strong> (CSV, JSON, relational, NoSQL)</li><li>At <strong>different frequencies</strong> (daily, hourly, real-time)</li></ul><p>I wanted to learn how to <strong>handle this complexity with modern cloud tools</strong>. Azure provided the perfect playground because it offers storage, orchestration, transformations, and analytics all under one ecosystem.</p><p>That’s why I chose the <strong>Medallion Architecture</strong>:</p><ul><li><strong>Bronze:</strong> raw data as-is</li><li><strong>Silver:</strong> cleaned and standardized</li><li><strong>Gold:</strong> analytics-ready for BI tools</li></ul><h3>🧰 Tech Stack</h3><ul><li><strong>Azure Data Factory (ADF):</strong> Data ingestion &amp; orchestration</li><li><strong>Azure Data Lake Storage Gen2:</strong> Central storage with <strong>Bronze → Silver → Gold</strong> zones</li><li><strong>Azure Databricks (PySpark):</strong> Transformations at scale</li><li><strong>MySQL &amp; MongoDB:</strong> Source systems (relational + NoSQL)</li><li><strong>GitHub (HTTP):</strong> Static dataset hosting</li><li><strong>Azure Synapse Analytics:</strong> Data serving &amp; SQL querying</li><li><strong>Power BI / Tableau:</strong> Optional visualization</li></ul><h3>🔍 The Architecture</h3><p>An architecture diagram acts as a blueprint for any project — it clearly shows the data flow and components. It ensures clarity, prevents errors, and guides smooth implementation.</p><p>Here’s how the pipeline is structured:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ahWLXOMJWBfN_iGnBxhCOA.jpeg" /><figcaption>Project Architecture Diagram</figcaption></figure><h3>⚙️ How I Built It</h3><h4>1. Azure Setup</h4><ul><li>Created a resource group ecommerce-live</li><li>Provisioned <strong>ADF, ADLS Gen2, Databricks, and Synapse</strong></li></ul><h4>2. Data Lake with Medallion Zones</h4><ul><li>Container: olist-data</li><li>Folders: /bronze, /silver, /gold</li></ul><h4>3. Ingestion with Azure Data Factory</h4><ul><li>Pulled CSV files from GitHub → <strong>Bronze</strong></li><li>Pulled relational data from MySQL → <strong>Bronze</strong></li><li>Configured a <strong>dynamic JSON-driven pipeline</strong> to avoid hardcoding datasets</li><li>Used <strong>ForEach + dependent copy activities</strong> for scalability</li></ul><p>👉 This was my first “wow!” moment — realizing how ADF lets you build pipelines that adjust to multiple datasets automatically.</p><h4>4. Configuring Databricks Access</h4><ul><li>Registered app in Azure Active Directory</li><li>Granted <strong>Storage Blob Data Contributor</strong> role</li><li>Connected Databricks with ADLS Gen2</li></ul><h4>5. Transformations in Databricks (PySpark)</h4><ul><li>Read raw data from /bronze</li><li>Pulled additional data from <strong>MongoDB</strong></li><li>Cleaned, joined, and standardized data with <strong>PySpark</strong></li><li>Wrote results to /silver in <strong>Parquet</strong> format</li></ul><pre>from pyspark.sql import SparkSession<br><br>spark = SparkSession.builder.appName(&quot;OlistPipeline&quot;).getOrCreate()<br><br>orders_df = spark.read.parquet(&quot;/mnt/bronze/orders&quot;)<br>customers_df = spark.read.parquet(&quot;/mnt/bronze/customers&quot;)<br><br>final_df = orders_df.join(customers_df, &quot;customer_id&quot;)<br>final_df.write.parquet(&quot;/mnt/silver/orders_customers&quot;, mode=&quot;overwrite&quot;)</pre><h4>6. Data Serving with Synapse</h4><ul><li>Connected Synapse <strong>Serverless SQL pool</strong> to /silver</li><li>Queried transformed data (e.g., only delivered orders)</li><li>Used <strong>CETAS (Create External Table As Select)</strong> to push final dataset into /gold</li></ul><p>👉 At this stage, the data was <strong>ready for BI dashboards</strong>.</p><h4>7. Visualization (Optional)</h4><ul><li>Connected Power BI / Tableau to /gold</li><li>Built dashboards for <strong>order trends, delivery performance, customer analysis</strong></li></ul><h3>💡 Key Learnings</h3><ul><li><strong>Medallion Architecture is a game-changer</strong> for structuring pipelines.</li><li><strong>Dynamic pipelines in ADF</strong> save a ton of time when dealing with multiple datasets.</li><li><strong>PySpark in Databricks</strong> felt intimidating at first, but once I started chaining transformations, it became very natural.</li><li><strong>Synapse + CETAS</strong> makes exporting to Gold blazing fast.</li></ul><h3>📂 Explore the Code</h3><p>👉 Full project on GitHub: <a href="https://github.com/HSG15/Azure-OList-Project">Azure Olist Project</a></p><h3>🙌 Final Thoughts</h3><p>This was my <strong>first end-to-end cloud project</strong> — and honestly, it gave me the confidence that I can design pipelines the way companies do.</p><p>If you’re learning data engineering, I’d highly recommend picking a dataset, choosing a cloud provider, and just <strong>building</strong>. The learnings stick so much better than just reading tutorials.</p><p>This is my very first blog on Medium, so <strong>would love to hear your thoughts or feedback in the comments </strong>— it’ll be a lot helpful for me to improve and share better content in the future!<strong> 💬❤️</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aaeb210398e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>