<?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 Gaurav Khandelwal on Medium]]></title>
        <description><![CDATA[Stories by Gaurav Khandelwal on Medium]]></description>
        <link>https://medium.com/@gakhandelwal?source=rss-210b9b33a66c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*etTSYtp87_bThF9F</url>
            <title>Stories by Gaurav Khandelwal on Medium</title>
            <link>https://medium.com/@gakhandelwal?source=rss-210b9b33a66c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 09:09:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gakhandelwal/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 Profiling using Dataplex in GCP]]></title>
            <link>https://medium.com/google-cloud/data-profiling-using-dataplex-in-gcp-dcca8f7063ec?source=rss-210b9b33a66c------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcca8f7063ec</guid>
            <category><![CDATA[data-profiling]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[dataplex]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Gaurav Khandelwal]]></dc:creator>
            <pubDate>Wed, 14 Dec 2022 20:35:31 GMT</pubDate>
            <atom:updated>2022-12-15T02:11:06.962Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WFVjSNanMXNed0zv" /><figcaption><em>Photo by </em><a href="https://unsplash.com/photos/744oGeqpxPQ"><em>Austin on Unsplash</em></a></figcaption></figure><p>Data profiling is the process of examining, analyzing, reviewing and summarizing data sets to gain insight into your data. Data profiling helps you discover and understand your data with details like structure, quality and content of source data. It offers critical insights into the information that a user or organization can leverage to its benefit for fast decision-making and analysis.</p><h3>Dataplex Data Profile</h3><p>Data users can now easily understand common characteristics of their data in GCP by leveraging the Data Profile feature of Dataplex. You can analyze the profile of your Dataplex managed data by configuring and scheduling checks over your data. It identifies common statistical characteristics like NULL % , unique% or distribution characteristics about your data.</p><p>A data profiling scan is associated with one BigQuery table and scans the table to generate the profiling results. The results of the scan are available as part of every scan execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iK20W8zuaQdMgK9M" /><figcaption>Photo from <a href="https://cloud.google.com/dataplex/docs/data-profiling-overview">Google Documentation</a></figcaption></figure><p><em>*Please note Dataplex Data Profiling is currently in public preview with a limited feature set*.</em></p><h3>Demo to Create Data Profile Scan</h3><p>Follow below simple steps to scan your first Bigquery table in GCP.</p><h3>Step 1</h3><p>In Dataplex, you will find a new link as Profile(PREVIEW). You can create a new data profile scan by clicking it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0yAcWgz4ZOBVClGQ3G45PQ.png" /></figure><h3>Step 2</h3><p>Put all required details such as Display name, id etc as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-t7KnNGB1l_gClTA" /></figure><h3>Step 3</h3><p>Select table to be scanned. The BigQuery table to be scanned must be part of a Dataplex lake.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/0*9ztL64hvTBElhtSw" /></figure><h3>Step 4</h3><p>Select scope as “Entire data” or “Incremental”. You can choose between “Repeat” or “On-Demand” Scheduling options. Data profiling can be run on a schedule to look at newer data for most up to date profile information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/0*Grqkv6cQzq5LAjp-" /></figure><h3>Step 5</h3><p>Once you hit the “Create” button, your profile scan would be created as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L2b_7LsCVJw11Obn-Gmfew.png" /></figure><p>On clicking the job name, you can find all the details of your profile job such as table name, schedule time etc</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a9uoimQKot2OVxUs" /></figure><h3>Step 6</h3><p>Your scan would start at the scheduled time with status showing as “Running”. Once it is complete, status would change to “Succeeded” and you can see the Jobs Details and Scan results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a9OiAdyDqAizT3_2g5owUg.png" /></figure><h3>Data Profiling Results</h3><p>You will find interesting and useful results based on your data. This information speeds up analytics and decision making. For example, dataset taken in this scan was a cab trip data having fields such as company name, fare, payment_type etc and below are some observations.</p><p><strong>Observation 1</strong>: Entire Dataset has 3 companies data with <em>303 taxi </em>being the leader.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mioev5uk5EcP6G7SK7Dpsg.png" /></figure><p><strong>Observation 2</strong>- Distribution of fare, with minimum being as low as .01 to maximum as 107.6</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tv3JOrIwqSchFMPUKOY72w.png" /></figure><p><strong>Observation 3</strong>- 82.3% payment is being done with cash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IU9WtLMWrL7WuDVd20EbFg.png" /></figure><p><strong>Observation 4</strong>- Other statistical calculations such as average trip mile is 3.8 etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtZ84OA8gVS9YBUzzWA3bw.png" /></figure><h3>Summary:</h3><p>Data profile is very useful to understand your source data and makes it possible to analyze data more effectively. Dataplex data profiling lets you identify common statistical characteristics of the columns of your BigQuery tables.</p><p>For more details about this feature and to get latest updates please refer to <a href="https://cloud.google.com/dataplex/docs/data-profiling-overview">Google Documentation</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcca8f7063ec" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/data-profiling-using-dataplex-in-gcp-dcca8f7063ec">Data Profiling using Dataplex in GCP</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build Data Product in Data Mesh using Templates]]></title>
            <link>https://medium.com/google-cloud/build-data-product-in-data-mesh-using-templates-e1bf5a38bf86?source=rss-210b9b33a66c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1bf5a38bf86</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-mesh]]></category>
            <category><![CDATA[data-architecture]]></category>
            <category><![CDATA[data-mesh-architecture]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Gaurav Khandelwal]]></dc:creator>
            <pubDate>Sun, 27 Nov 2022 16:44:05 GMT</pubDate>
            <atom:updated>2022-12-15T15:12:03.362Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*exyGj197ToDAFs0lcYhzFw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@_entreprenerd">Arno</a> on <a href="https://unsplash.com/">Unsplash</a></figcaption></figure><h3>Data Mesh Overview</h3><p>There are various data architecture patterns which have evolved over time from the last couple of decades in the Data Analytics space.</p><p>The first one being Data warehouse which started in late 1980’s and is still a popular architecture pattern. Then came Data Lake in the late 2000’s where we saw the problem of Big Data and Analytical systems were required to handle high velocity, volume and variety of data. Then with the advent of Cloud Computing, we saw Cloud Data Platforms or Modern Data Platforms which got popular in Mid 2010s. Then came Data Lake house which is a compromised attempt to bring in the strengths of both models i.e Data warehouse and Data Lake.</p><p>The most recent is the <strong>Data Mesh Architecture</strong> which is domain oriented and a decentralized pattern. A data mesh is an architectural and organizational framework which treats data as a product. In this pattern, data products are developed by the teams that best understand that data, and who follow an organization-wide set of data governance standards. Once data products are deployed to the data mesh, distributed teams in an organization can discover and access data that’s relevant to their needs more quickly and efficiently. This article focuses on building <strong>Data products using Templates</strong> <strong>or Recipes</strong> but before we go there let’s understand the role of various archetypes in a Data Mesh.</p><h3>Data Mesh Team Archetypes</h3><p>In Data Mesh, a number of archetypes or functions can exist but typically below are the key archetypes which are most common:</p><ul><li><strong>Data Producers Team:</strong> They are the domain team aligned with a business unit and are responsible for creating and maintaining data products that generate business value.</li><li><strong>Data Consumers Team:</strong> They are the domain team aligned with a business unit and are responsible for consuming data products for various analytic applications. They can also use these data products to create another data product of their own.</li><li><strong>Data Governance Team:</strong> These are responsible for defining mesh-wide data policies and standards to facilitate data interoperability and ensuring data protection.</li><li><strong>Data Platform/Enablement Team: </strong>They are responsible for providing self-service data infrastructure platforms and templates/recipes to help autonomous domain teams to develop, run and manage data products. Domain teams use these components to build and deploy their data products. The data platform team also promotes best practices and introduces tools and methodologies which help to reduce cognitive load for distributed teams when adopting new technology.</li></ul><h3>Challenges with Domain Team</h3><p>In the Data Mesh world, Domain teams have to be cross functional where they would be responsible for both application products and data products. Domain teams typically do not have deep data engineering expertise. They used to rely on the central data engineering team before Data Mesh adoption and lacked those typical data skills. And therefore a ready made template or recipe could be very useful. Let’s discuss the benefits of templates in more detail in the next section.</p><h3>Benefits of Templates</h3><p>Templates are very crucial for the adoption of Data Mesh Architecture patterns. These have been mostly overlooked by organization but now they are gaining traction because of below benefits:</p><ul><li><strong>Data Producers:</strong> Most important benefit of building &amp; using templates are that this would facilitate Domain teams to onboard their data by bridging some technical gaps who typically do not have much data engineering expertise.</li><li><strong>Speed-to-market:</strong> Using templates would speed up the data product development process. These templates could help in creating a Data product very quickly by just cloning the code, providing a few configuration details and executing it.</li><li><strong>Data Products:</strong> Data products would be consistent and would follow the same standards throughout the organization. This consistency is also important for ensuring the interoperability of data products, and that they could be used appropriately by the consumers.</li><li><strong>Data Consumers:</strong> Data Products built by multiple domain teams using standard templates would provide harmonious and defined experience for its consumer and hence consumption and exploration would be convenient.</li></ul><h3><strong>Template or Recipe in Data Mesh</strong></h3><p>There could be various kinds of templates which could accelerate and standardize the build and consumption process in Data Mesh. In this article we would be focussing on Data Pipeline Templates built in the GCP environment.</p><p><strong>Data Pipeline Templates:</strong> This template could be built by using various data analytics services such as Dataflow, Dataproc, BigQuery, Pub/Sub etc and could be used to set up required source, target and data ingestion pipelines for building Data products. For example Cloud Spanner to BigQuery Template, GCS to BigQuery template, Pub/Sub to BigQuery template etc</p><p>Please refer <a href="https://medium.com/google-cloud/mesh-self-service-data-ingestion-template-for-moving-data-from-spanner-to-bigquery-data-store-94186c0f13e5">Data Mesh Self Service — Ingestion Pattern from Spanner to BigQuery</a> where <a href="https://medium.com/u/e5093bb3a99a">Sanchit Malhotra</a> has explained Spanner to BigQuery data ingestion pattern and a self-service template for such a pattern which could be used by different domains to build data products in BigQuery.</p><p>There could be other templates as well such as below, which are not discussed in this article.</p><ul><li>Infrastructure Provisioning Templates.</li><li>Data Pipeline Orchestration Templates.</li><li>Data Product Discoverability and Marketplace Templates.</li><li>Data Observability and Control plane Templates.</li></ul><h3>Reference Architecture in GCP</h3><p>Below is a reference architecture in GCP for building a Data Product using <strong>Data Pipeline Templates.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4JRMk8M4aCyHXhZM" /><figcaption>Data Products using Templates in GCP</figcaption></figure><p>The Data Platform/Enablement team publishes the production template in git repository comprising patterns and recipes. Domain team discovers templates/recipes made available by the Data Enablement team in a self service environment and identifies template(s) meeting their needs. Domain team then copy relevant Data Pipeline Templates in their project and auto-build their ingestion pipeline after updating the required configurations in the Configuration file.</p><p><em>*Please note that all these templates are custom and has to be build as per organization requirement.</em></p><h3>Building Data Products using Templates</h3><p>Typical user experience of using these templates by domain team would be as below:</p><ol><li>Explore and find out the right template for their use case. This should be ideally done through a self service platform but might also require consulting with the data platform/enablement team to verify.</li><li>Clone the required template which could be in a version control tool such as git.</li><li>Update the configuration as per requirement and deploy the solution in their environment.</li><li>Verify data pipeline which was built using templates.</li><li>Customize the auto built solution if required.</li><li>Publish the Data product for relevant Data Consumers.</li></ol><h3>Templates Best Practices</h3><ul><li>Templates should be customizable, one size doesn’t fit all.</li><li>Templates should be enhanced and updated periodically.</li><li>Templates should have proper documentation which tells which templates could be used for what use case and how to get started guide for domain teams.</li><li>Templates should be built following organizational security guardrails.</li><li>The Data Platform team should provide mechanisms to get feedback from the domain team and implement those wherever possible. For example a Data Ingestion template provides provisions of doing CDC process only using a date column only but some other Domains want to use it using a sequence number column. This should go as a feature enhancement request to the Data Platform team to improvise templates for a wider audience.</li></ul><h3>Summary</h3><p>In this article we saw the need and benefit of using templates in Data Mesh Architecture. We also covered how templates can help in building Data products in a seamless way in GCP along with a templates best practices.</p><h3><strong>References:</strong></h3><ul><li><a href="https://cloud.google.com/architecture/data-mesh">Architecture and functions in a data mesh</a></li><li><a href="https://cloud.google.com/architecture/design-self-service-data-platform-data-mesh">Design a self-service data platform for a data mesh</a></li></ul><p>For more information on how to build a Data Mesh on Google Cloud, please see the <a href="https://cloud.google.com/blog/products/data-analytics/build-a-data-mesh-on-google-cloud-with-dataplex-now-generally-available">Google Cloud Data Mesh Whitepaper</a>.</p><p>Hopefully this article would help you to understand a few key concepts around Data Mesh and Templates. Please provide your feedback and share if you find this useful. Thanks for reading!</p><p><em>Disclosure: The opinions expressed in this article are mine alone and do not necessarily reflect the views of my clients or Google.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1bf5a38bf86" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/build-data-product-in-data-mesh-using-templates-e1bf5a38bf86">Build Data Product in Data Mesh using Templates</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>