<?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 Geethanjali Kalinga on Medium]]></title>
        <description><![CDATA[Stories by Geethanjali Kalinga on Medium]]></description>
        <link>https://medium.com/@geethanjalik3011?source=rss-47aec96ef741------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Geethanjali Kalinga on Medium</title>
            <link>https://medium.com/@geethanjalik3011?source=rss-47aec96ef741------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:13:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@geethanjalik3011/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[“Data Warehouse vs. Data Lake vs. Lakehouse Understanding Data Storage in Databricks”]]></title>
            <link>https://medium.com/@geethanjalik3011/data-warehouse-vs-data-lake-vs-lakehouse-understanding-data-storage-in-databricks-5fabd1ec389c?source=rss-47aec96ef741------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fabd1ec389c</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[bronze]]></category>
            <category><![CDATA[silver]]></category>
            <category><![CDATA[gold]]></category>
            <category><![CDATA[databricks]]></category>
            <dc:creator><![CDATA[Geethanjali Kalinga]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 17:35:59 GMT</pubDate>
            <atom:updated>2026-11-18T17:35:59.769Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is a Data Warehouse?</h3><h3>Definition</h3><p>A Data Warehouse is a centralized data storage system that collects data from multiple sources, cleans and transforms it, and stores it in an organized format for reporting, business intelligence, and analytical purposes.</p><p>In simple words:</p><p>A Data Warehouse takes business data from different systems, organizes it into meaningful tables, and makes it easier for companies to understand their business performance.</p><p>For example, an e-commerce company may collect customer information from its registration system, sales information from its order management system, and payment information from its payment gateway.</p><p>A Data Warehouse combines this information into standardized datasets for analysis.</p><h3>How does a Data Warehouse work?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*fglYJJPheznSG2N8" /></figure><p>The process generally follows these stages:</p><ol><li><strong>Data Sources:</strong> Data is collected from databases, applications, CSV files, and business systems.</li><li><strong>Extract:</strong> Required data is extracted from different sources.</li><li><strong>Transform:</strong> Data is cleaned, validated, standardized, and converted into the required format.</li><li><strong>Load:</strong> Processed data is loaded into the Data Warehouse.</li><li><strong>Analytics:</strong> Business analysts use SQL, dashboards, and reporting tools to analyze the data.</li></ol><p>This process is commonly called ETL (Extract, Transform, Load).</p><p>Some modern architectures also use ELT, where raw data is loaded first and transformed inside the analytical platform.</p><h3>What types of data are stored in a Data Warehouse?</h3><p>Data Warehouses primarily store structured and modeled data.</p><p>For our e-commerce example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*aRA_QYZCWOyBt1cptHqVgw.png" /></figure><p>These tables are organized using predefined schemas.</p><p>For example, an Orders table could look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/1*MqCzdMU6IRDhIwnXc6hunQ.png" /></figure><p>This structured information makes reporting and analysis easier.</p><h3>How is data prepared before reporting?</h3><p>Before business users access the data, Data Engineers perform several operations:</p><ul><li><strong>Data Cleaning: </strong>Remove incorrect or duplicate records.</li><li><strong>Data Validation:</strong> Check whether required fields contain valid values.</li><li><strong>Data Transformation: </strong>Convert dates, currencies, and other values into standard formats.</li><li><strong>Data Integration:</strong> Combine information from multiple systems.</li><li><strong>Data Modeling: </strong>Organize information into fact and dimension tables.</li></ul><p>For example:</p><p>Suppose an order system contains duplicate order records.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/160/1*OesIAY9Qe_ZRebRNmt1Wsg.png" /></figure><p>After removing the duplicate:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/144/1*K7KoJolevqVX7ms9wY7iEA.png" /></figure><p>Now the reporting system can calculate revenue without double-counting the same order.</p><h3>How does a Data Warehouse support BI and analytics?</h3><p>Business Intelligence (BI) tools connect to a Data Warehouse to generate reports, dashboards, and visualizations.</p><p>For example, an e-commerce company can create dashboards showing:</p><p><strong>E-commerce Sales Dashboard</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*AhN8YusB0aiSW9v5Wrc7jg.png" /></figure><p>Illustrative dashboard values, not actual company data.</p><p>These dashboards help managers:</p><ul><li>Understand monthly revenue.</li><li>Compare regional sales.</li><li>Identify high-performing products.</li><li>Track customer purchasing patterns.</li><li>Make better business decisions.</li></ul><h3>Advantages of a Data Warehouse</h3><ol><li><strong>Better reporting: </strong>Provides organized data for business reports.</li><li><strong>High query performance: </strong>Optimized for analytical queries.</li><li><strong>Data consistency:</strong> Standardized information reduces conflicting reports.</li><li><strong>Historical analysis:</strong> Helps compare business performance over time.</li><li><strong>Decision-making:</strong> Helps management make data-driven decisions.</li></ol><h3>Limitations of a Data Warehouse</h3><ol><li><strong>Limited flexibility: </strong>Traditional warehouses are primarily designed for structured and modeled data.</li><li><strong>Transformation requirements:</strong> Data often needs preparation before loading.</li><li><strong>Cost: </strong>Storage, compute, and licensing costs can become significant.</li><li><strong>Unstructured data challenges:</strong> Raw images, videos, and audio are not its primary strength.</li><li><strong>Schema changes:</strong> Changes to data structures can require additional engineering work.</li></ol><h3>Practical e-commerce example</h3><p>Let’s connect everything to our assignment scenario.</p><p>Imagine an online shopping company wants to analyze its monthly revenue, regional sales, and product performance.</p><p>The Data Engineering team collects data from:</p><ul><li>Customer databases.</li><li>Order management systems.</li><li>Payment systems.</li><li>Product databases.</li></ul><p>The team cleans the data, removes duplicates, standardizes currencies, and combines related information.</p><p>Then it loads the prepared data into a Data Warehouse.</p><p>Business analysts can use SQL queries such as:</p><p><strong>Query 1: Calculate total revenue</strong></p><pre>SELECT<br>    SUM(amount) AS total_revenue<br>FROM orders;</pre><p><strong>Query 2: Calculate sales by region</strong></p><pre>SELECT<br>    region,<br>    SUM(amount) AS regional_revenue<br>FROM orders<br>GROUP BY region<br>ORDER BY regional_revenue DESC;</pre><p><strong>Query 3: Identify top-selling products</strong></p><pre>SELECT<br>    product_name,<br>    SUM(quantity) AS total_sold<br>FROM orders<br>GROUP BY product_name<br>ORDER BY total_sold DESC<br>LIMIT 5;</pre><p>The results can be connected to BI tools to build dashboards.</p><p><strong>Conclusion: </strong>A Data Warehouse is an excellent solution for an e-commerce company that needs reliable, structured, historical data for reporting, business intelligence, and analytical decision-making.</p><h3>What Is a Data Lake?</h3><p>A Data Lake is a centralized storage repository that allows organizations to store large amounts of data in its original or raw format, including structured, semi-structured, and unstructured data.</p><p>In simple words:</p><p>A Data Lake is like a large digital storage area where a company can collect and store different types of data without needing to define a fixed structure for every dataset before storing it.</p><p>For example, an e-commerce company can store:</p><ul><li>Customer transaction CSV files.</li><li>Website activity logs.</li><li>JSON payment events.</li><li>Customer feedback and reviews.</li><li>Product images and videos.</li><li>Delivery tracking records.</li></ul><p>All these different data types can be stored in one data lake environment.</p><h3><strong>Data Lake Architecture:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0PDf8rQRBsQh3-Kr" /></figure><h3><strong>How does a Data Lake store different types of data?</strong></h3><p>A Data Lake supports three major categories of data.</p><p><strong>A. Structured Data</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mzqzRslcVy-Kw4Fq" /></figure><p>Structured data follows a predefined format, usually organized into rows and columns.</p><p>Examples:</p><ul><li>Customer database tables.</li><li>Product inventory tables.</li><li>Order transaction records.</li><li>Payment records.</li></ul><p>Example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/216/1*wAWwCkpYfD0p7ZIO4l4Ozg.png" /></figure><p><strong>B. Semi-Structured Data</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/0*4qW541y1J4MBf2rP" /></figure><p>Semi-structured data does not follow a strict relational table format but contains identifiable elements such as keys, values, tags, or metadata.</p><p>Examples:</p><ul><li>JSON files.</li><li>XML files.</li><li>Application event logs.</li><li>API responses.</li></ul><p>Example JSON event:</p><p>{ &quot;customer_id&quot;: &quot;C001&quot;, &quot;event&quot;: &quot;product_purchase&quot;, &quot;product_id&quot;: &quot;P101&quot;, &quot;amount&quot;: 2500, &quot;timestamp&quot;: &quot;2026-11-18T10:30:00&quot; }</p><p>Here, information is organized using key-value pairs rather than traditional database rows and columns.</p><p><strong>C. Unstructured Data</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fxyDtCgDfTu9Ty8q" /></figure><p>Unstructured data does not follow a predefined tabular format.</p><p>Examples:</p><ul><li>Product images.</li><li>Customer review documents.</li><li>Audio recordings.</li><li>Videos.</li><li>PDF documents.</li></ul><p>For example, customers may upload product images or submit feedback about their shopping experience.</p><p>A Data Lake can store these files in their original formats for future processing and analysis.</p><h3><strong>What is the purpose of raw data storage?</strong></h3><p>One of the biggest advantages of a Data Lake is that it allows organizations to preserve original data before performing transformations.</p><p>Imagine our e-commerce company receives a CSV file containing 100,000 customer transactions.</p><p>Instead of immediately modifying the data, the Data Engineering team stores the original file in the Data Lake.</p><p>Later, the team can:</p><ul><li>Remove duplicate transactions.</li><li>Correct invalid records.</li><li>Analyze customer purchasing behavior.</li><li>Generate sales reports.</li><li>Train machine learning models.</li></ul><p>Keeping original data is valuable because different business requirements may need different transformations.</p><p>For example, a finance team may analyze transaction amounts, while a machine learning team may use customer purchasing history to predict future purchases.</p><p>Both teams can work from the same original data.</p><h3><strong>What is Schema-on-Read?</strong></h3><p>This is one of the most important concepts in Data Lake architecture.</p><p>Schema-on-Read means the structure or format of data is applied when the data is accessed or read, rather than requiring a fixed schema before storing it.</p><p>In simple words:</p><p>First, store the data. Later, decide how to interpret and analyze it.</p><ul><li>Example</li></ul><p>Suppose our e-commerce company receives this JSON data:</p><p>json</p><p>{ &quot;customer_id&quot;: &quot;C101&quot;, &quot;product&quot;: &quot;Laptop&quot;, &quot;price&quot;: 55000 }</p><p>The company stores this JSON file in the Data Lake without first converting it into a relational table.</p><p>Later, when a Data Engineer wants to analyze product sales, they can read the JSON file and apply a suitable schema.</p><p>For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/163/1*J0GVuREqiEuwA3CfX-ZmEA.png" /></figure><p>The data becomes available for analysis when its structure is interpreted during reading.</p><p><strong>Schema-on-Read process</strong></p><p><strong>Raw Data Storage</strong></p><p>CSV · JSON · Logs · Images</p><p><strong>Apply Schema When Reading</strong></p><p>Interpret fields and data types</p><p><strong>Data Analysis</strong></p><p>SQL queries · Analytics · Machine Learning</p><ul><li>Schema-on-Read vs. Schema-on-Write</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*9ZXkwFbi7SS4A80RlWj2QA.png" /></figure><p>Note: These are common architectural patterns, not absolute rules. Modern platforms can support both approaches.</p><h3><strong>Advantages of a Data Lake</strong></h3><p>A Data Lake provides several benefits to organizations.</p><p>Stores multiple data formats: Supports structured, semi-structured, and unstructured data.</p><ol><li><strong>Scalability: </strong>Can store large volumes of data using scalable storage infrastructure.</li><li><strong>Raw data preservation:</strong> Keeps original data for future processing and analysis.</li><li><strong>Flexibility: </strong>Different teams can use the same datasets for different purposes.</li><li><strong>Machine learning support:</strong> Provides data for experimentation, feature engineering, and model training.</li><li><strong>Cost flexibility:</strong> Object storage can provide economical storage for large datasets, depending on usage and architecture.</li></ol><h3><strong>Limitations of a Data Lake</strong></h3><p>Although Data Lakes are flexible, they also introduce challenges.</p><ol><li><strong>Data quality issues:</strong> Raw data may contain missing values, duplicate records, and incorrect information.</li><li><strong>Governance challenges: </strong>Without proper policies, managing large amounts of data becomes difficult.</li><li><strong>Security risks:</strong> Sensitive customer information must be protected.</li><li><strong>Performance challenges:</strong> Poorly organized files and inefficient queries can affect performance.</li><li><strong>Data Swamp:</strong> An unmanaged Data Lake can become a Data Swamp, where users cannot easily understand, trust, or find the stored data.</li></ol><p><strong>What is a Data Swamp?</strong></p><p>A Data Swamp is a poorly managed Data Lake containing unorganized, undocumented, low-quality, or unreliable data.</p><p>For example, imagine storing thousands of files without meaningful names, metadata, documentation, or ownership information.</p><p>Data Engineers may struggle to identify which files contain customer information or which datasets are suitable for analysis.</p><p>Therefore, proper data management is essential.</p><h3><strong>Why are Data Quality, Security, and Governance important?</strong></h3><p>A Data Lake can store enormous amounts of information, but storing data alone is not enough.</p><p>Organizations must ensure that the data is reliable, secure, and properly managed.</p><p><strong>A. Data Quality</strong></p><p>Data quality ensures that stored information is accurate, complete, consistent, and reliable.</p><p>For example:</p><ul><li>Remove duplicate customer records.</li><li>Identify missing transaction amounts.</li><li>Validate customer IDs.</li><li>Check invalid dates.</li></ul><p><strong>B. Data Security</strong></p><p>Data security protects sensitive information from unauthorized access.</p><p>For example:</p><ul><li>Restrict access to customer payment information.</li><li>Encrypt sensitive data.</li><li>Apply role-based access controls.</li><li>Monitor access to important datasets.</li></ul><p><strong>C. Data Governance</strong></p><ol><li>Data governance establishes policies and processes for managing organizational data.</li></ol><p>For example:</p><ul><li>Maintain data ownership.</li><li>Document datasets.</li><li>Track where data comes from (data lineage).</li><li>Define access permissions.</li><li>Apply data retention policies.</li></ul><p>These practices help prevent Data Lakes from becoming unmanaged storage environments.</p><h3><strong>Practical E-commerce Example</strong></h3><p>Let’s apply Data Lake architecture to our assignment scenario.</p><p>Imagine an e-commerce company receives data from different business systems every day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*2pb3zkI0_Ia6TSyCkvgiwg.png" /></figure><h3>Why is a Data Lake useful?</h3><p>1. <strong>Stores all types of data:</strong> A Data Lake can store structured, semi-structured, and unstructured data in one place.</p><p>2. <strong>Cost-effective storage: </strong>It can store huge volumes of raw data at a relatively low cost.</p><p>3. <strong>Stores data in its original format:</strong> Data does not need to be processed or converted before storage. It can be analyzed later for different purposes.</p><p>4. <strong>Supports different business needs:</strong> Different departments can use the same data for different purposes:</p><ul><li>Marketing can analyze customer preferences and shopping behavior.</li><li>Sales teams can identify best-selling products.</li><li>Management can study business performance.</li><li>Customer support can analyze customer feedback.</li></ul><p>5. <strong>Supports advanced analytics and AI: </strong>Data scientists can use the stored data for machine learning, customer recommendations, sales forecasting, and fraud detection.</p><h4><strong>Conclusion:</strong></h4><p>A Data Lake helps the e-commerce company collect and store all its different types of data in one place without needing to process it immediately. This makes data management easier, reduces storage costs, and allows the company to use the data for business intelligence, customer analysis, and future decision-making.</p><h3><strong>What Is a Lakehouse?</strong></h3><p>A Data Lakehouse is a modern data architecture that combines the advantages of a Data Lake and a Data Warehouse into a single platform.</p><p>It provides the flexibility and low-cost storage of a Data Lake while adding the reliability, data management, and analytical capabilities of a Data Warehouse.</p><p>In simple words:</p><ul><li>A <strong>Data Lake</strong> stores large amounts of raw data in different formats.</li><li>A <strong>Data Warehouse</strong> stores structured, cleaned, and organized data for reporting and analysis.</li><li>A <strong>Lakehouse</strong> combines both approaches so organizations can store, manage, process, and analyze data in one architecture.</li></ul><h3><strong>How does a Lakehouse combine Data Lakes and Data Warehouses?</strong></h3><p>A Lakehouse brings together the best features of both architectures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*852_ycff-bIBtF48" /></figure><p><strong>Data Lake</strong></p><ul><li>Stores raw data</li><li>Supports multiple formats</li><li>Flexible and scalable</li><li>Low-cost storage</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*c_KyyCM0O8eqj6ti" /></figure><p><strong>Data Warehouse</strong></p><ul><li>Structured data</li><li>Reliable tables</li><li>Data quality</li><li>BI and reporting</li></ul><p><strong>DATA LAKEHOUSE</strong></p><p><strong>Flexibility + Reliability + Analytics</strong></p><p>For example, an e-commerce company can store customer transactions, website logs, JSON events, and customer reviews in a Lakehouse. It can then clean and organize the data for sales reports, customer analysis, and machine learning without maintaining completely separate systems for each purpose.</p><h3><strong>What are reliable tables and transactional consistency?</strong></h3><p>A Lakehouse introduces database-like reliability to data stored in a Data Lake.</p><p><strong>Reliable tables:</strong></p><p>Reliable tables are organized datasets that maintain consistency, accuracy, and trustworthiness. They help users work with data without worrying about incomplete or corrupted updates.</p><p>For example, an e-commerce company stores customer orders in a table. Every order should have the correct customer ID, order amount, and transaction details.</p><p><strong>Transactional consistency:</strong></p><p>Transactional consistency means that changes to data are completed safely and correctly.</p><p>For example, when a company updates an order record.</p><ul><li>The complete update should be successful.</li><li>If the update fails, partial changes should not be left behind.</li><li>Users should see a consistent version of the data.</li></ul><p>Lakehouse technologies can provide ACID transactions:</p><ul><li><strong>Atomicity: </strong>A transaction happens completely or not at all.</li><li><strong>Consistency:</strong> Data remains valid according to defined rules.</li><li><strong>Isolation:</strong> Concurrent transactions do not interfere incorrectly.</li><li><strong>Durability:</strong> Committed changes are preserved.</li></ul><p>These properties make data more reliable for business operations and analytics.</p><h3><strong>How do metadata, data quality, and governance contribute to a Lakehouse?</strong></h3><p>These three elements help maintain and manage data effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*kJpNDownYrolD0uBCV16ow.png" /></figure><p><strong>Why are they important?</strong></p><ul><li>Metadata helps users understand and discover datasets.</li><li>Data quality ensures that reports and analysis are based on trustworthy information.</li><li>Data governance protects sensitive information and ensures proper access control.</li></ul><p>Together, they make the Lakehouse organized, secure, and reliable.</p><h3><strong>How can a Lakehouse support BI, analytics, and machine learning?</strong></h3><p>A Lakehouse supports different types of workloads using the same underlying data.</p><ol><li>Lakehouse Data Storage</li></ol><ul><li>Shared and managed data</li></ul><p>2. Business Intelligence (BI)</p><ul><li>Creates dashboards, reports, and sales summaries.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*yHhrppfNGHVZuBtP" /></figure><p>3. Data Analytics</p><ul><li>Identifies customer behavior, business trends, and sales patterns.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*27XEHF1TOMzQFWPt" /></figure><p>4. Machine Learning</p><ul><li>Builds recommendation systems, fraud detection models, and sales predictions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*lEfeaQg75sk9Ymaa" /></figure><p><strong>Example:</strong></p><p>An e-commerce company can use its Lakehouse to:</p><ul><li>Create dashboards showing daily sales.</li><li>Analyze which products customers purchase most.</li><li>Predict future customer demand.</li><li>Recommend products based on customer shopping history.</li></ul><p>All these activities can use the same managed data platform.</p><h3><strong>What are the advantages and limitations of a Lakehouse?</strong></h3><p><strong>Advantages</strong></p><ol><li><strong>Cost-effective: </strong>Uses scalable and relatively inexpensive data lake storage.</li><li><strong>Flexible:</strong> Supports structured, semi-structured, and unstructured data.</li><li><strong>Reliable: </strong>Provides transactional consistency and reliable table management.</li><li><strong>Unified architecture:</strong> Supports BI, analytics, and machine learning using shared data.</li><li><strong>Reduced data duplication:</strong> Reduces the need to maintain separate copies across multiple systems.</li><li><strong>Better data management: </strong>Metadata, quality controls, and governance improve data trust.</li></ol><p><strong>Limitations</strong></p><ol><li><strong>Complex implementation: </strong>Designing and maintaining a Lakehouse requires technical knowledge.</li><li><strong>Performance tuning:</strong> Queries may require optimization to achieve good performance.</li><li><strong>Governance challenges:</strong> Managing permissions, security, and data quality across large datasets can be difficult.</li><li><strong>Technology compatibility:</strong> Different tools and storage systems may not support all Lakehouse features equally.</li><li><strong>Operational overhead: </strong>Monitoring, maintenance, and managing metadata require additional effort.</li></ol><h3><strong>What is Delta Lake?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*JtEcgUwzXc26GiMy" /></figure><ol><li>Delta Lake</li><li>An open-source storage framework that adds reliability and transactional capabilities to data lakes.</li></ol><p>Traditional Data Lakes can face problems such as:</p><ul><li>Incomplete data updates.</li><li>Data corruption during failed operations.</li><li>Difficulty managing multiple versions of data.</li><li>Problems when multiple users or applications access data simultaneously.</li></ul><p>Delta Lake helps solve these problems by adding features such as:</p><ul><li><strong>ACID transactions:</strong> Ensures reliable and consistent data updates.</li><li><strong>Reliable table management:</strong> Helps maintain structured and dependable tables.</li><li><strong>Schema enforcement:</strong> Ensures incoming data follows the expected structure.</li><li><strong>Schema evolution: </strong>Allows supported changes to table structures over time.</li><li><strong>Time travel:</strong> Allows users to access previous versions of data.</li><li><strong>Concurrent operations:</strong> Helps manage multiple read and write operations safely.</li></ul><p>For example, an e-commerce company can use Delta Lake to maintain reliable customer transaction tables while continuously receiving new orders.</p><p>Delta Lake works with supported storage systems and processing engines to provide these capabilities.</p><h3><strong>Why is a Lakehouse an architectural approach rather than just another product?</strong></h3><p>A Lakehouse is an architectural approach, not simply a software product.</p><p>This is because it describes how different technologies and components work together to manage data.</p><p>A Lakehouse architecture may include:</p><ul><li>Cloud or distributed storage for storing data.</li><li>Delta Lake or another compatible table format for reliable tables and transactions.</li><li>Processing engines for transforming data.</li><li>Metadata catalogs for discovering and managing datasets.</li><li>Governance tools for security and access control.</li><li>BI and machine learning tools for analysis.</li></ul><p>For example, an organization may use cloud object storage, Delta Lake, Apache Spark, a metadata catalog, and BI tools together to build its Lakehouse.</p><p>Delta Lake is one technology that provides important Lakehouse capabilities, but it is not the entire Lakehouse architecture.</p><p>Therefore, a Lakehouse is the overall design and combination of technologies used to store, manage, process, and analyze data reliably.</p><h3><strong>Final summary</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*lcTXL3qN9NQUEH1GQg8uAQ.png" /></figure><p><strong>Conclusion:</strong> A Lakehouse provides a unified architecture that combines the flexibility of Data Lakes with the reliability and management features of Data Warehouses. Technologies such as Delta Lake help make this architecture possible by providing ACID transactions, schema enforcement, and reliable table management. It allows organizations to perform BI, analytics, and machine learning using the same trusted data platform.</p><h3><strong>Data Warehouse vs. Data Lake vs. Lakehouse: Comparison Table</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/1*FZnMH_8HpG5FOQ_7GngAUA.png" /></figure><h3>How Databricks Stores and Organizes Data</h3><h4>Introduction: How Does Databricks Store Data?</h4><p>Imagine an e-commerce company that receives thousands of orders every day. The company collects customer details, product information, order records, prices, and sales amounts.</p><p>All this information needs to be stored, organized, protected, and made available for analysis.</p><p>This is where Databricks helps. Databricks uses the <strong>Lakehouse architecture</strong>, which combines the flexibility of a Data Lake with the reliability and analytical capabilities of a Data Warehouse.</p><p>To understand how Databricks manages data, we need to understand four important concepts:</p><p>· Lakehouse architecture</p><p>· Delta Lake</p><p>· Unity Catalog</p><p>· Volumes and Tables</p><h3>A. Databricks and the Lakehouse</h3><h4>What is the relationship between Databricks and the Lakehouse architecture?</h4><p>A Lakehouse is a modern data architecture that combines the advantages of Data Lakes and Data Warehouses.</p><p>Traditionally:</p><p>· Data Lakes store large amounts of raw data in different formats.</p><p>· Data Warehouses store structured and processed data for reporting and analytics.</p><p>Databricks brings these capabilities together through its Lakehouse architecture.</p><p>For example, an e-commerce company can store CSV files, JSON records, customer information, and sales data in cloud storage and use Databricks to process and analyze them.</p><h3>How Does Databricks Support Different Workloads?</h3><p>Databricks provides a shared platform where different teams can work with the same governed data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*3PkMDZ6B-f733KBD8O7shQ.png" /></figure><p><strong>Key idea:</strong> Instead of maintaining separate data platforms for every team, Databricks allows data engineers, analysts, and data scientists to work with shared data.</p><h3>B. Unity Catalog: Catalogs, Schemas, and Tables</h3><h3>What is Unity Catalog?</h3><p>Unity Catalog is Databricks’ centralized data governance solution.</p><p>It helps organizations organize, manage, secure, and monitor their data assets.</p><p>Unity Catalog follows this basic hierarchy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*BZvcJBl4DQYUK8h_Wxmikg.png" /></figure><p>Catalog → Schema → Table</p><p>Let’s understand each component.</p><h3>1. What is a Catalog?</h3><p>A catalog is the highest level in the basic Unity Catalog data hierarchy.</p><p>It acts as a container for organizing related schemas.</p><p>Example:</p><p>ecommerce</p><p>Here, ecommerce represents the e-commerce company’s data environment.</p><h3>2. What is a Schema?</h3><p>A schema is a logical container inside a catalog.</p><p>It organizes related tables, views, and volumes.</p><p>Example:</p><p>sales</p><p>This schema contains data related to sales operations.</p><h3>3. What is a Table?</h3><p>A table stores structured data in rows and columns.</p><p>Example:</p><p>gold_sales</p><p>This table contains processed sales information that can be used for business reporting.</p><h3>Complete Example</h3><p>ecommerce.sales.gold_sales</p><p>· ecommerce → Catalog</p><p>· sales → Schema</p><p>· gold_sales → Table</p><h3>How Does Unity Catalog Help Organize and Govern Data?</h3><p>Unity Catalog provides centralized access control and governance.</p><p>For example, in our e-commerce company:</p><p>· Data engineers can receive permission to create and modify tables.</p><p>· Business analysts can receive permission to read sales tables.</p><p>· Sensitive customer information can be restricted to authorized users.</p><p>Permissions such as USE CATALOG, USE SCHEMA, and SELECT help control who can access particular data assets.</p><p>This improves data security and prevents unauthorized access.</p><h3>C. Volumes vs. Tables</h3><p>In Databricks, Unity Catalog supports both Volumes and Tables.</p><p>Although both help organize data, their purposes are different.</p><h3>What is a Unity Catalog Volume?</h3><p>A Volume is used to organize and access files stored in cloud storage through Unity Catalog.</p><p>Examples include:</p><p>· CSV files</p><p>· JSON files</p><p>· Images</p><p>· Documents</p><p>· Other unstructured files</p><p>For example, an e-commerce company receives a file named sales.csv.</p><p>It can store this file in a Unity Catalog Volume.</p><p>Example path:</p><p>/Volumes/ecommerce/sales/raw_files/sales.csv</p><h3>What is a Databricks Table?</h3><p>A Databricks Table stores structured data in rows and columns.</p><p>Tables are useful for SQL queries, transformations, and analytics.</p><p>For example:</p><p>ecommerce.sales.gold_sales</p><p>This table might contain:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*v5ITnrxy6A1ItAU2U4fddg.png" /></figure><h3>Comparison: Unity Catalog Volume vs. Databricks Table</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*pIesmkLPFXDywCXhY-oFKA.png" /></figure><p><strong>Simple example:</strong></p><p>· sales.csv stored in a Volume represents the original source file.</p><p>· bronze_sales stored as a table represents ingested sales data in a structured format.</p><h3>Managed Tables vs. External Tables</h3><p>Databricks supports two common table types.</p><p><strong>Managed Table</strong></p><p>· Unity Catalog manages the table’s storage location and lifecycle.</p><p>· Databricks determines where the underlying data is stored.</p><p>· Dropping a managed table eventually removes its underlying data files, subject to applicable recovery behavior.</p><p><strong>External Table</strong></p><p>· The user specifies the underlying cloud storage location.</p><p>· Unity Catalog manages the table metadata and permissions.</p><p>· Dropping the table removes its registration but generally leaves the underlying data files in storage.</p><p>The storage location and lifecycle behavior depend on the table type and configuration.</p><h3>D. Where Is the Data Physically Stored?</h3><p>One important concept to understand is that <strong>Databricks Workspace and Data Storage are not the same thing.</strong></p><p>Many beginners assume that all files and tables are physically stored inside the Databricks workspace. However, that is not correct.</p><p>Let’s understand the difference.</p><h3>1. Databricks Workspace</h3><p>A workspace provides an environment where users can work with:</p><p>· Notebooks</p><p>· SQL queries</p><p>· Jobs</p><p>· Dashboards</p><p>· Other development resources</p><p>It is where users develop and run their data workloads.</p><h3>2. Unity Catalog</h3><p>Unity Catalog provides the governance and organization layer for data assets.</p><p>It helps manage catalogs, schemas, tables, volumes, permissions, and data lineage.</p><h3>3. Volumes</h3><p>Volumes provide governed access to files such as CSV, JSON, images, and documents.</p><p>Users can access these files through supported file paths.</p><h3>4. Tables</h3><p>Tables provide a structured interface for querying and managing data.</p><p>Users can work with tables using SQL or supported DataFrame APIs.</p><h3>5. Underlying Cloud Storage</h3><p>The actual data is stored in the configured cloud storage location.</p><p>Examples include:</p><p>· Amazon S3</p><p>· Azure Data Lake Storage (ADLS)</p><p>· Google Cloud Storage (GCS)</p><p>Databricks manages or accesses the underlying storage according to the resource type and configuration.</p><h3>Databricks Storage Architecture Diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eSo1TT6Rvm8qh5D3na8jgw.png" /></figure><h3>Key Takeaways</h3><p>1. <strong>Lakehouse Architecture:</strong> Databricks combines the flexibility of data lakes with the reliability and analytical capabilities of data warehouses.</p><p>2. <strong>Unity Catalog:</strong> Catalogs, schemas, tables, and volumes help organize and govern data while controlling user permissions.</p><p>3. <strong>Data Storage:</strong> The workspace provides the working environment, while the underlying data resides in configured cloud storage.</p><h4>Conclusion:</h4><p>Databricks provides a unified platform for storing, organizing, processing, and analyzing data.</p><p>Delta Lake makes tables more reliable through transaction guarantees and other data management features. Unity Catalog provides centralized governance through catalogs, schemas, tables, and volumes.</p><p>Understanding the difference between workspaces, data assets, and physical storage is essential when designing a Databricks data architecture.</p><p>These concepts provide the foundation for understanding how raw data can be transformed into meaningful business information using Databricks</p><h3>Understanding Bronze, Silver, and Gold Layers in Databricks</h3><h4>Introduction to Medallion Architecture</h4><p>In data engineering, companies receive data from different sources, such as CSV files, Excel files, databases, and applications. However, raw data is not always clean or ready for analysis.</p><p>To organize and process this data step by step, Databricks uses an approach called <strong>Medallion Architecture</strong>.</p><p>Medallion Architecture is a data-processing design pattern that divides data into three layers:</p><ol><li>Bronze — Raw Data</li><li>Silver — Cleaned and Validated Data</li><li>Gold — Business-Ready Data</li></ol><p>Each layer improves the quality and usability of the data.</p><h3>Understanding with an E-commerce Example</h3><p>Imagine an e-commerce company receives a sales.csv file containing the following information:</p><ul><li>Order ID</li><li>Product Name</li><li>Product Category</li><li>Quantity</li><li>Price</li><li>Sales Amount</li><li>Region</li><li>Order Date</li></ul><p>The company wants to analyze its sales performance using this data.</p><p>Instead of directly using the raw CSV file for reporting, the data passes through three layers.</p><h3>1. Bronze Layer — Raw Data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*VDsA5g0yM4CgCixRdbLfuQ.png" /></figure><p>The Bronze layer is the first stage of the Medallion Architecture.</p><p>In this layer, data is collected from the source and stored with minimal transformations.</p><p><strong>What happens in this layer?</strong></p><ul><li>Ingest data from the original sales.csv file.</li><li>Store the data as received.</li><li>Preserve the original source information.</li><li>Maintain data for future processing and reprocessing.</li></ul><p><strong>Example:</strong></p><p>Table name: bronze_sales</p><p>Suppose the CSV contains duplicate orders, missing values, and inconsistent product names. These issues are preserved at this stage.</p><p>The main purpose of the Bronze layer is to maintain the original data for traceability.</p><h3>2. Silver Layer — Cleaned and Validated Data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*tfhgX7S6fy1NRaIaHCjfPQ.png" /></figure><p>The Silver layer is the second stage.</p><p>In this layer, raw data is cleaned, validated, and transformed into a consistent format.</p><p><strong>What happens in this layer?</strong></p><ul><li>Handle missing values.</li><li>Remove duplicate records.</li><li>Correct inconsistent text values.</li><li>Apply appropriate data types.</li><li>Identify and handle invalid records.</li><li>Validate data using business rules.</li></ul><p><strong>Example:</strong></p><p>Table name: silver_sales</p><p>Suppose the Bronze table contains:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*PmFr4vzsZivDeW7uwE8I1g.png" /></figure><p>After cleaning:</p><ul><li>Duplicate records are handled.</li><li>Category names are standardized.</li><li>Missing values are handled according to business rules.</li><li>Data types are corrected.</li></ul><p>Now, the data is more accurate and consistent.</p><p>The main purpose of the Silver layer is to improve data quality.</p><h3>3. Gold Layer — Business-Ready Data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*ivCwR-WhFEqkrqdZupSXOw.png" /></figure><p>The Gold layer is the final stage of the Medallion Architecture.</p><p>In this layer, cleaned data is organized into business-ready datasets for reporting and decision-making.</p><p><strong>What happens in this layer?</strong></p><ul><li>Calculate total sales.</li><li>Aggregate sales by product category.</li><li>Analyze monthly sales performance.</li><li>Calculate regional sales.</li><li>Prepare datasets for business reporting.</li></ul><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*tNdwPl2Uk8vcik85PqZtiw.png" /></figure><p>Now, business teams can easily understand which product categories generate more revenue.</p><p>The main purpose of the Gold layer is to provide trusted data for business analysis and decision-making.</p><h3>Complete Medallion Architecture Flow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*T0NqY_D-Oz1nWUZUWNcraA.png" /></figure><h3>How Does Medallion Architecture Help?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*-0xPh2eFBQVdZ4aS5hn24Q.png" /></figure><h3>How Is It Implemented in Databricks?</h3><p>In Databricks, Bronze, Silver, and Gold are logical data-processing layers. They do not necessarily require three separate physical storage systems.</p><p>They can be implemented as tables governed through <strong>Unity Catalog</strong>.</p><p>For example:</p><ul><li>bronze.sales</li><li>silver.sales</li><li>gold.sales</li></ul><p>Unity Catalog helps organize, govern, and manage access to these tables.</p><h4>Conclusion:</h4><p>Medallion Architecture is an important concept in data engineering because it helps transform raw data into meaningful business information.</p><p>The Bronze layer stores raw data, the Silver layer improves data quality, and the Gold layer prepares data for business analysis.</p><p>By using this architecture in Databricks, organizations can build organized, reliable, and scalable data pipelines.</p><p><strong>Remember:</strong></p><ul><li>Bronze = Raw Data</li><li>Silver = Clean Data</li><li>Gold = Business-Ready Data</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fabd1ec389c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Databricks in Action: From Unity Catalog to Business Insights with SQL, Genie & AI/BI Dashboards”]]></title>
            <link>https://medium.com/@geethanjalik3011/data-bricks-in-action-from-unity-catalog-to-business-insights-with-sql-genie-ai-bi-dashboards-9875d37758b1?source=rss-47aec96ef741------2</link>
            <guid isPermaLink="false">https://medium.com/p/9875d37758b1</guid>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[genie]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[mysql]]></category>
            <dc:creator><![CDATA[Geethanjali Kalinga]]></dc:creator>
            <pubDate>Thu, 12 Nov 2026 11:44:12 GMT</pubDate>
            <atom:updated>2026-11-12T11:52:35.571Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Introduction</h3><p>Data plays an important role in understanding business performance and making better decisions. However, raw data alone does not provide meaningful insights. It needs to be organiser , analazed and presented in a clear way.</p><p>In this project, I worked on a Retail Sales Analytics project using Data bricks as part of the Data Engineering Foundations and Databricks learning challenge by Innomatics Research Labs.</p><h3>Business Problem</h3><p>Retail businesses generate sales data through different products, regions, customer types, and sales channels. Without proper analysis, it can be difficult to identify:</p><ul><li>Which products generate the highest revenue?</li><li>Which region performs better?</li><li>How do sales change over time?</li><li>Which product categories contribute more to revenue?</li><li>Which sales channels generate more revenue?</li></ul><h3>Project Objective</h3><p>The main objective of this project was to explore retail sales data using Data bricks and convert raw data into useful business insights.</p><p>The project included:</p><ul><li>Organizing data using Unity Catalog.</li><li>Exploring and analyzing data using Databricks SQL.</li><li>Asking business questions using AI-powered Genie.</li><li>Building an interactive AI/BI Dashboard.</li><li>Identifying useful business insights from the analysis.</li></ul><h3>2. Dataset Overview</h3><h3>2.1 Data Source</h3><p>For this project, I used the Retail Sales Dataset provided as part of the training assignment by Innomatics Research Labs.</p><p>The dataset was available in Databricks under the following structure:</p><ul><li>Catalog: Innomatics</li><li>Schema: default</li><li>Table: sales_data</li></ul><p>The dataset contains 1,000 records and 13 columns, representing retail sales transactions.</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*BLWYcuxT7WSL-0zO.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*jqz3YyhbV90Y_p0f.jpeg" /><figcaption><strong>Table : Sales_data table preview showing sample records</strong></figcaption></figure><p>2.2 Dataset Columns</p><p>The dataset contains the following columns:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/0*Wq2Ck6Id0sdhBNwc.png" /><figcaption><strong>Table 1: Dataset Columns</strong></figcaption></figure><h3>2.3 Data Types</h3><p>To understand the structure of the dataset, I used the DESCRIBE TABLE command in Data bricks SQL.</p><pre>DESCRIBE TABLE Innomatics.default.sales_data;</pre><p>The command displayed the column names and their corresponding data types.</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/0*aY5YGSs3-62Ytakj.png" /><figcaption><strong>Table 2: Data Types</strong></figcaption></figure><p><strong>Describe Table output showing all 13 columns and data types</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/0*Vdp1GKcGCTBzqzmL.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/0*ZROX8MCakNwZGjHW.png" /><figcaption><strong>FIG : All 13 Column and Data Types</strong></figcaption></figure><h3>2.4 Dataset Structure</h3><p>The dataset is structured in tabular format, with 1,000 rows and 13 columns.</p><p>Each row represents a sales transaction, while each column represents an attribute related to that transaction.</p><p>The dataset includes numerical, categorical, and date-related information. This structure helps perform different types of sales analysis.</p><h3>3. Unity Catalog Setup</h3><p>Unity Catalog is a data governance solution in Data bricks. It helps organize and manage data using a structured hierarchy.</p><p>The three main levels are:</p><ul><li><strong>Catalog:</strong> The highest-level container used to organize data.</li><li><strong>Schema:</strong> A logical container inside a catalog.</li><li><strong>Table:</strong> Stores structured data inside a schema.</li></ul><p>For this project, I used the following hierarchy:</p><p>Innomatics → default → sales_data</p><p>I explored the existing catalog and schema, accessed the sales_data table, and verified the table structure and sample records.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/0*7LEClSJkmiwizn8c.png" /><figcaption><strong>FIG : Catalog and Schema hierarchy</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*T8syY090lgB_ztqi.png" /><figcaption><strong>FIG: Sales_data table under the default schema</strong></figcaption></figure><p>This helped me understand how Unity Catalog organizes data and makes it easier to access and manage tables.</p><h3>4. Data bricks SQL Analysis</h3><p>After exploring the dataset, I used Data bricks SQL to answer important business questions.</p><p>I performed five SQL analyses to understand the sales performance.</p><h3>4.1 Overall Sales Revenue</h3><p><strong>Business Question:</strong> What is the total sales revenue?</p><pre>SELECT<br>    SUM(Sales_Amount) AS Total_Sales_Revenue<br>FROM Innomatics.default.sales_data;</pre><p>This query calculates the total recorded sales revenue from all transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/0*12IIW_4Glw4ysE5I.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*oCZ2KwQo-83J2zhL.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*goY6vsFaV0sIr8kd.png" /><figcaption><strong>FIG: Overall sales revenue SQL query and output</strong></figcaption></figure><p>4.2 Top 5 Products by Revenue</p><p><strong>Business Question:</strong> Which are the top five products based on sales revenue?</p><pre>SELECT<br>    Product_ID,<br>    SUM(Sales_Amount) AS Total_Revenue<br>FROM Innomatics.default.sales_data<br>GROUP BY Product_ID<br>ORDER BY Total_Revenue DESC<br>LIMIT 5;</pre><p>This query identifies the five products that generated the highest total revenue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*yKljrebwrruDp590.jpeg" /><figcaption><strong>FIG:Top 5 products SQL query and output</strong></figcaption></figure><p>4.3 Region-wise Sales Performance</p><p><strong>Business Question:</strong> Which region generates the highest sales revenue?</p><pre>SELECT<br>    Region,<br>    SUM(Sales_Amount) AS Total_Revenue<br>FROM Innomatics.default.sales_data<br>GROUP BY Region<br>ORDER BY Total_Revenue DESC;</pre><p>This query compares sales revenue across different regions and helps identify the best-performing region.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/0*zy0Oi5CuOiq2rHND.jpeg" /><figcaption><strong>FIG: Region-wise sales SQL query and output</strong></figcaption></figure><p>4.4 Monthly Sales Trend</p><p><strong>Business Question:</strong> How do sales change month by month?</p><pre>SELECT<br>    DATE_FORMAT(Sale_Date, &#39;yyyy-MM&#39;) AS Sales_Month,<br>    SUM(Sales_Amount) AS Monthly_Revenue<br>FROM Innomatics.default.sales_data<br>GROUP BY DATE_FORMAT(Sale_Date, &#39;yyyy-MM&#39;)<br>ORDER BY Sales_Month;</pre><p>This query groups sales by month and calculates the monthly revenue. It helps understand changes in sales over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*LwZNxoN3fn3Imnyl.jpeg" /><figcaption><strong>FIG:Monthly sales trend SQL query and output</strong></figcaption></figure><p>4.5 Category-wise Sales Contribution</p><p><strong>Business Question:</strong> How much revenue does each product category contribute?</p><pre>SELECT<br>    Product_Category,<br>    SUM(Sales_Amount) AS Total_Revenue<br>FROM Innomatics.default.sales_data<br>GROUP BY Product_Category<br>ORDER BY Total_Revenue DESC;</pre><p>This query compares revenue across product categories and helps identify the categories contributing more to total sales.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/0*yyxWt7n0MgNADvqc.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/0*IEv4PUehW8_iapgq.png" /></figure><p>5. Data bricks Genie — AI-Assisted Analysis</p><p>Data bricks Genie is an AI-powered feature that allows users to ask questions about their data using natural language instead of writing SQL queries manually.</p><p>In this project, I explored Genie by asking business-related questions about the retail sales dataset.</p><h3>5.1 Questions Asked Using Genie</h3><p>I explored the following questions:</p><ol><li>What is the total sales revenue by product category?</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/0*HF3hl8YrAwxaYZbT.png" /></figure><p>2. What are the top five products by total sales revenue?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/0*4dtHaxg0W1ajYRQq.png" /></figure><p>3. Show total sales revenue by region.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/0*nf40kP0erR_fpKsx.png" /></figure><p>4. What is the monthly sales revenue trend?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/0*JuRSfI_g8owJ0wK3.png" /></figure><p>5. Compare sales revenue across different sales channels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/0*qMNL24uEvje6j-rv.png" /></figure><p>Genie generated responses and SQL-based results for these questions.</p><h3>5.2 Validation of Genie Results Using SQL</h3><p>To check the reliability of Genie results, I compared selected Genie answers with manually written SQL queries.</p><p><strong>Validation 1: Top Five Products</strong></p><p>The top five products identified by Genie were:</p><p>Product ID Total Revenue 1099 101773.87, 1092 90615.62 ,1033 89130.41, 1090 88043.25 , 1086 82, 269.71</p><p>The results matched the manually written SQL analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*1QTMawn3DvH424yg.jpeg" /></figure><p><strong>Validation 2: Region-wise Sales</strong></p><p>Genie returned the following regional revenue:</p><p>Region Total Revenue North 1369,612.51 East 1259,792.93 West 1235,608.93 South 1154,250.86</p><p>These results also matched the manually written SQL analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/0*JLB9KOqoCk4g1QXp.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/472/0*6tD3cMPfNPaObweS.png" /><figcaption><strong>FIG: Genie Region-Wise Result</strong></figcaption></figure><p>5.3 Business Insights from Genie</p><p>The category-wise analysis showed the following revenue:</p><ul><li>Clothing: 1,313,474.36</li><li>Furniture: 1,260,517.69</li><li>Electronics: 1,243,499.64</li><li>Food: 1,201,773.54</li></ul><p>Clothing generated the highest revenue among the listed categories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/0*wBm0S_VG0ju0dO0T.png" /><figcaption><strong>FIG: Genie Category-wise Output</strong></figcaption></figure><p>The sales channel analysis showed:</p><ul><li>Retail revenue: 2,560,431.30</li><li>Online revenue: 2,458,833.93</li></ul><p>Retail generated slightly higher revenue than the Online channel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/0*SP_RX0AJuQkLY3-d.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*dS3WUdKfDJzdNWDu.jpeg" /><figcaption><strong>FIG: Genie Sales Channel Analysis Result</strong></figcaption></figure><p>This analysis helped me understand how AI-assisted tools can make data exploration easier. However, validating AI-generated results with SQL is important before using them for business decisions.</p><h3>6. Data bricks AI/BI Dashboard</h3><p>After completing the SQL and Genie analysis, I created an interactive AI/BI Dashboard in Data bricks to present important sales metrics and trends in a visual format.</p><h3>6.1 Key Performance Indicators (KPI s)</h3><p>I included four KPI cards:</p><p>KPI Dashboard Value Total Sales Revenue 5.02 M , Total Quantity Sold 25.36 K , Distinct Products 100 , Total Sales Records 1 K</p><p>These KPI s provide a quick overview of overall retail sales performance.</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Y5y30BmcvY3sphfj.png" /><figcaption>FIG : KPI Cards</figcaption></figure><h3>6.2 Charts and Visualizations</h3><p>I created four visualizations:</p><ol><li><strong>Sales Revenue by Region:</strong> Compares revenue across different regions.</li><li><strong>Top 5 Products by Revenue:</strong> Displays the five products generating the highest revenue.</li><li><strong>Monthly Sales Revenue Trend:</strong> Shows how revenue changes over time.</li><li><strong>Category-wise Revenue Contribution:</strong> Compares the contribution of different product categories.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/0*D32WBrqF1ZIEuETH.png" /><figcaption><strong>FIG: Sales Revenue by Region</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/0*WZ_TD1pCeY08QnfD.png" /><figcaption><strong>FIG: Top 5 Products by Revenue</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/0*k7MBP0PV5rdW-n4S.png" /><figcaption><strong>FIG: Monthly Sales Revenue Trend</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/0*7xlcBraIPiekhRFA.png" /><figcaption><strong>FIG: Category-wise Revenue Contribution</strong></figcaption></figure><p>6.3 Interactive Filters</p><p>I added three global filters to make the dashboard interactive:</p><ul><li>Region</li><li>Product Category</li><li>Sales Channel</li></ul><p>These filters allow users to view sales performance based on selected values. I tested the filters and verified that the dashboard visuals changed according to the selected filters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/0*tlaBR-GxwxncFzbo.png" /><figcaption><strong>FIG: Global Filters</strong></figcaption></figure><p>The dashboard provides a simple and interactive way to understand retail sales performance without manually reading multiple SQL query results.</p><h3>7. Key Business Insights</h3><p>Based on the SQL analysis, Genie exploration, and dashboard, I identified the following insights:</p><ul><li>North was the highest revenue-generating region among the four regions.</li><li>Product 1099 generated the highest revenue among the top five products.</li><li>Clothing contributed the highest revenue among the product categories.</li><li>Retail generated slightly more revenue than the Online sales channel.</li><li>Monthly sales analysis helps identify changes in revenue over time.</li></ul><p>These insights can help businesses understand product performance, regional contribution, and sales channel performance.</p><h3>8. Conclusion</h3><p>Working on this Retail Sales Analytics project gave me practical experience with Data bricks and helped me understand how data can be transformed into meaningful business insights.</p><p>During this hands-on challenge, I learned how to organise data using Unity Catalog , analyze retail sales using SQL queries, and explore business questions using Data bricks Genie.</p><p>I also learned the importance of validating AI-generated results with manually written SQL queries. In my analysis, the top five products and region-wise sales results from Genie matched the SQL results.</p><p>Finally, I created an interactive AI/BI Dashboard with KPI cards, charts, and global filters to present the findings clearly.</p><p>This project improved my practical knowledge of Data bricks, SQL analysis, AI-assisted data exploration, and dashboard development. It was a valuable learning experience in my journey towards becoming a Data Analyst.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9875d37758b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Behind Every Insight, There Is Data Engineering”]]></title>
            <link>https://medium.com/@geethanjalik3011/behind-every-insight-there-is-data-engineering-73aa185be411?source=rss-47aec96ef741------2</link>
            <guid isPermaLink="false">https://medium.com/p/73aa185be411</guid>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Geethanjali Kalinga]]></dc:creator>
            <pubDate>Thu, 29 Oct 2026 13:33:13 GMT</pubDate>
            <atom:updated>2026-10-29T13:33:13.356Z</atom:updated>
            <content:encoded><![CDATA[<h3>“Understanding the Foundations of Data Engineering Through Real-World Examples”</h3><p>Every day, we use applications like Amazon, Swiggy, YouTube, and Google. We search for products, place orders, watch videos, and make online payments.</p><p>But have you ever wondered how these applications manage millions of records, process customer activities, and provide useful information to businesses?</p><p>Behind these activities, a large amount of data is generated every second. To make this data useful, businesses need a reliable system to collect, process, organize, and store it.</p><p>This is where <strong>Data Engineering</strong> comes into the picture.</p><p>In this article, let’s understand the foundations of Data Engineering, its responsibilities, data pipelines, and importance through simple explanations and real-world examples.</p><h3>1. What Is Data Engineering?</h3><p>Data Engineering is the process of designing, building, and maintaining systems that collect, process, transform, and store data so that it can be used for analysis and business decision-making.</p><p>In simple words, Data Engineering helps transform raw data into reliable, organized, and usable information.</p><p>Imagine an online shopping company. Every day, customers search for products, add items to their carts, place orders, and make payments. All these activities generate data.</p><p>However, collecting this data alone is not enough. The data may contain duplicate records, missing values, inconsistent formats, or information scattered across different systems.</p><p>Data Engineers build the systems that bring this data together, process it, and make it ready for use.</p><p><strong>Think of Data Engineering as the foundation of a building.</strong> A building needs a strong foundation to remain stable. Similarly, a data-driven business needs a reliable data foundation to generate meaningful insights.</p><h3>2. Who Is a Data Engineer?</h3><p>A Data Engineer is a professional who builds and maintains the systems that allow data to move from different sources to its destination efficiently and reliably.</p><p>Their goal is to ensure that the right data reaches the right place in the right format at the right time.</p><h3>Key Responsibilities of a Data Engineer</h3><p><strong>1. Data Collection</strong></p><p>Collecting data from different sources, such as databases, applications, APIs, and files.</p><p><strong>2. Data Ingestion</strong></p><p>Moving data from its source into a data platform for further processing.</p><p><strong>3. Data Transformation</strong></p><p>Cleaning, validating, filtering, and converting raw data into a consistent and useful format.</p><p><strong>4. Data Storage</strong></p><p>Organizing and storing data in databases, data warehouses, or data lakes.</p><p><strong>5. Data Quality and Reliability</strong></p><p>Checking data for errors, missing values, duplicates, and inconsistencies.</p><p><strong>6. Pipeline Automation</strong></p><p>Automating repetitive data tasks and scheduling pipelines to run at specific times.</p><p><strong>7. Monitoring and Maintenance</strong></p><p>Monitoring pipelines, identifying failures, and ensuring that data is available when required.</p><p>Data Engineers commonly work with technologies such as Python, SQL, Apache Spark, Databricks, Apache Airflow, Kafka, and cloud platforms.</p><h3>3. Understanding Data Sources</h3><p>Before processing data, we need to understand where it comes from.</p><p>Businesses generate data through many different systems.</p><p>Data SourceDescriptionExampleDatabasesStore structured informationCustomer and order recordsAPIsAllow applications to exchange dataPayment informationFilesStore data in formats such as CSV and JSONDaily sales filesWeb ApplicationsGenerate user activity dataProduct searches and clicksStreaming SystemsDeliver continuously generated dataLive delivery trackingIoT DevicesGenerate data from connected devicesFactory sensor readings</p><p>For example, an online food delivery company may collect order information from its application, payment details from a payment system, and delivery updates from tracking services.</p><p>A Data Engineer helps bring these different sources together into a reliable data platform.</p><h3>4. What Is a Data Pipeline?</h3><p>A <strong>data pipeline</strong> is a sequence of steps that moves data from its source to a destination while performing the necessary processing.</p><p>Consider a simple example: a company wants to prepare a daily sales report.</p><p>Sales data may come from multiple stores and applications. Before the company can analyze it, the data must be collected, cleaned, combined, and stored.</p><p>A data pipeline automates these steps.</p><h3>Data Engineering Workflow</h3><p>[Insert your original Data Engineering workflow diagram here]</p><p><strong>The typical workflow is:</strong></p><p>Data Sources → Data Ingestion → Data Processing → Data Storage → Data Analysis → Business Decisions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VxudSo11GhAIJ1G40dCbMA.png" /><figcaption><strong>Diagram: Data Engineering WorkFlow</strong></figcaption></figure><p>Let’s understand each stage.</p><p><strong>Stage 1: Data Sources</strong></p><p>Data is generated by databases, websites, applications, APIs, and files.</p><p><strong>Stage 2: Data Ingestion</strong></p><p>The data is collected and moved into a central data platform. This can happen in scheduled batches or through continuous streaming.</p><p><strong>Stage 3: Data Processing</strong></p><p>The collected data is cleaned and transformed. Duplicate records are handled, formats are standardized, and data quality checks are performed.</p><p><strong>Stage 4: Data Storage</strong></p><p>The processed data is stored in a suitable destination, such as a data lake or data warehouse.</p><p><strong>Stage 5: Data Analysis</strong></p><p>Data Analysts and other users access the prepared data to identify trends, create reports, and answer business questions.</p><p><strong>Stage 6: Business Decisions</strong></p><p>Businesses use the resulting insights to improve operations, reduce costs, understand customers, and plan future activities.</p><p>The important point is that a data pipeline makes this process repeatable and reduces the need for manual work.</p><h3>5. Real-World Example: Online Food Delivery</h3><p>Imagine an online food delivery company that receives thousands of orders every day.</p><p>Each order generates information such as:</p><ul><li>Order ID</li><li>Customer ID</li><li>Restaurant name</li><li>Order amount</li><li>Payment status</li><li>Delivery time</li><li>Order status</li></ul><p>This information may be stored in different systems. If the company wants to understand why deliveries are delayed, it needs to combine and process the relevant data.</p><h3>How Data Engineering Helps</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WTnWMVvCGYOHoD0CoYsrXw.png" /></figure><p>“A food delivery data pipeline transforms data from customers, restaurants, payment systems, and delivery partners into meaningful insights that help businesses improve operations and customer satisfaction.”</p><p>A Data Engineer builds a pipeline that collects order, payment, and delivery data. The pipeline checks the data, handles duplicates, standardizes formats, and stores the prepared information.</p><p>Once the data is available, the business team can investigate questions such as:</p><ul><li>Which restaurants receive the highest number of orders?</li><li>During which hours is demand highest?</li><li>How many orders are delivered late?</li><li>Which locations experience frequent delivery delays?</li><li>Are cancellations increasing?</li></ul><p>The company can use these insights to improve delivery operations, manage staffing, and provide a better customer experience.</p><p>This example shows how Data Engineering supports business decisions by making data reliable and accessible.</p><h3>6. Why Is Data Engineering Important?</h3><p>In a data-driven world, collecting large amounts of data is not enough. Businesses need data that they can trust and use effectively.</p><h3>Data Quality</h3><p>Raw data may contain errors, duplicate records, or missing information. Data Engineering helps identify and manage these problems.</p><h3>Data Reliability</h3><p>Reliable pipelines help deliver data consistently and on time, allowing business teams to depend on their reports.</p><h3>Data Accessibility</h3><p>Organized data makes it easier for different teams to access the information they need.</p><h3>Business Efficiency</h3><p>Automated pipelines reduce repetitive manual tasks and help save time.</p><h3>Scalability</h3><p>Well-designed data systems can support increasing data volumes as a business grows.</p><h3>Better Decision-Making</h3><p>Reliable data helps businesses understand performance, identify opportunities, and make informed decisions.</p><p>For example, an e-commerce company can use accurate inventory data to identify products that are running out of stock and plan replenishment before customers are affected.</p><h3>7. Data Engineer vs. Data Analyst</h3><p>Data Engineers and Data Analysts both work with data, but their responsibilities are different. They collaborate to turn raw data into business value.</p><p>AspectData EngineerData AnalystMain FocusBuilding and maintaining data systemsAnalyzing data and identifying insightsPrimary ObjectiveMake data reliable and availableAnswer business questions using dataResponsibilitiesData ingestion, transformation, storage, and pipelinesData exploration, reporting, visualization, and analysisCommon ToolsPython, SQL, Spark, Databricks, Airflow, KafkaSQL, Excel, Python, Power BI, TableauMain OutputReliable datasets and data pipelinesReports, dashboards, and insightsBusiness ContributionProvides the data foundationHelps teams make informed decisions</p><p>For example, in an online shopping company, a Data Engineer prepares reliable sales and customer datasets. A Data Analyst uses those datasets to identify best-selling products, understand customer behavior, and evaluate business performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zgMKad7SKAJRGFWvhpKMyQ.jpeg" /><figcaption><strong>Table 1: Comparison of Responsibilities and Objectives</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kePmU83S2N-8fQFUyee6yA.jpeg" /><figcaption><strong>Table 2: Comparison of Workflow, Delivearbles and Business Impact</strong></figcaption></figure><p><strong>In simple terms, Data Engineers prepare the foundation, and Data Analysts use that foundation to discover insights.</strong></p><p>Both roles are important in a successful data team.</p><h3>8. My Key Learnings</h3><p>While learning about Data Engineering, I realized that working with data involves much more than collecting information or creating dashboards.</p><p>I understood that data must be properly collected, cleaned, organized, and stored before it can provide meaningful insights.</p><p>I also learned how data pipelines connect different systems and how automation helps businesses process data more efficiently.</p><p>The most important lesson I learned is that data quality and reliability are essential for trustworthy analysis.</p><p>As someone learning the data field, understanding these foundations has helped me see how data moves from its original source to the point where it creates business value.</p><p>I am excited to continue learning about data pipelines, data processing technologies, and modern data platforms.</p><h3>Conclusion</h3><p>Data Engineering is an essential part of modern businesses. It connects different data sources, builds reliable pipelines, improves data quality, and makes information available for analysis and decision-making.</p><p>From online shopping and food delivery to banking, healthcare, and manufacturing, businesses depend on reliable data systems to operate efficiently.</p><p>Every dashboard tells a story. Every insight answers a question. Every informed decision depends on trustworthy information.</p><p>And behind that trustworthy information, there is a strong data foundation.</p><p><strong>Behind every insight, there is Data Engineering.</strong></p><h3>References and Further Reading</h3><ol><li><a href="https://docs.databricks.com/">Databricks Documentation</a> — Data engineering and modern data platforms.</li><li><a href="https://spark.apache.org/docs/latest/">Apache Spark Documentation</a> — Large-scale data processing.</li><li><a href="https://airflow.apache.org/docs/">Apache Airflow Documentation</a> — Workflow orchestration and pipeline scheduling.</li><li><a href="https://learn.microsoft.com/en-us/training/">Microsoft Learn</a> — Learning resources on data platforms and analytics.</li></ol><p>These resources provide further information about data engineering concepts and data processing technologies platforms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73aa185be411" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>