<?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 Rajarsi Ghosh on Medium]]></title>
        <description><![CDATA[Stories by Rajarsi Ghosh on Medium]]></description>
        <link>https://medium.com/@rajarsi.g?source=rss-22520d324bfe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1aJQKMbNtYpXqnjRxhrBpA.jpeg</url>
            <title>Stories by Rajarsi Ghosh on Medium</title>
            <link>https://medium.com/@rajarsi.g?source=rss-22520d324bfe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:40:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rajarsi.g/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[Building a Cloud Data Platform]]></title>
            <link>https://medium.com/@rajarsi.g/building-a-cloud-data-platform-3887552bbd38?source=rss-22520d324bfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/3887552bbd38</guid>
            <category><![CDATA[unity-catalog]]></category>
            <category><![CDATA[lakehouse-architecture]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[data-lake]]></category>
            <dc:creator><![CDATA[Rajarsi Ghosh]]></dc:creator>
            <pubDate>Mon, 16 Oct 2023 12:43:54 GMT</pubDate>
            <atom:updated>2023-10-16T16:19:21.691Z</atom:updated>
            <content:encoded><![CDATA[<p>Building a Cloud data platform is not simple, there are several important design considerations to keep in mind. I got an unique opportunity recently to build a greenfield Cloud Data Platform ground up for my company. For background — my company is the carved out Tea business entity of Unilever where we are building all IT systems from scratch.</p><p><strong>Guiding Principles/Requirements</strong></p><ol><li><strong>Start with a minimum viable product (MVP)</strong>: In a carve out scenario there is a lot of fluidity in terms of requirements and resources so the ask was to start small and build a viable product — so scalability was very important both in terms of performance and cost.</li><li><strong>Open source and open standards</strong>: Needless to say the ask was to build something that can be easily integrated or optimized if necessary so proprietary formats and closed ecosystems was not something we were looking at.</li><li><strong>Quick turn around</strong>: Business wanted to see a quick turnaround as they are used to certain ways of working in the parent organization. So automation was paramount to meet the goals in a very short time.</li><li><strong>Tangible deliverables</strong>: Typically data warehouse projects generally have a long gestation period but the ask was to deliver something tangible while we continue to build the final product.</li></ol><p><strong>Cloud Platform</strong>: The choice for cloud platform was Azure (we are a cloud native organization) from an organization perspective so for the data platform we went ahead with Azure for better synergy and optimization.</p><p><strong>Data Platform Architecture</strong>: Considering the business requirement for MVP and quickest time for delivery we chose to adapt the <a href="https://www.databricks.com/blog/2020/01/30/what-is-a-data-lakehouse.html?itm_data=lakehouse-link-lakehouseblog">Lakehouse Architecture</a>. Following aspects of Lakehouse Architecture were considered to come to this architectural decision:</p><ol><li><strong>Start Small (MVP)</strong>: While this aspect is not highlighted much for a Lakehouse Architecture — you can start small with a cluster that is just enough for your workload and ramp up as the data volume increases. Also there is no upfront license cost to be paid for any components.</li><li><strong>Transaction support:</strong> In an enterprise Lakehouse many data pipelines will often be reading and writing data concurrently. Support for ACID transactions ensures consistency as multiple parties concurrently read or write data. This gave us the best of both worlds — Datalake + Data Warehouse.</li><li><strong>Data Governance</strong>: As with any data lake implementation, it’s critical to consider data security &amp; governance. In a Lakehouse architecture this is done by implementation of <a href="https://www.databricks.com/product/unity-catalog">Unity Catalog</a>. We were able to catalog our delta tables in Silver and Gold layers and also set governance through the user management module of Unity Catalog. This enabled us to democratize the data assets faster.</li><li><strong>BI support:</strong> Lakehouse enable using BI tools directly on the source data. In our case this enabled us to democratize the data lake and enable different functional team to start using the delta tables from Silver or Gold layer in their Power BI reports &amp; dashboards.</li><li><strong>Openness:</strong> The storage formats used are open and standardized, (Parquet in our case) and they provide an API so a variety of tools and engines, including machine learning and Python/R libraries, can efficiently access the data directly. This helped us to keep our platform open and ready for further integration and optimization.</li><li><strong>End-to-end batch/streaming: </strong>Lakehouse has this unique feature where you can run both batch as well as streaming data ingestion. While our current need is for batch ingestion, we ensured we are future ready for near real-time data ingestion &amp; reporting.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*p4GDhPMt9uMerv-BvSQ86Q.png" /><figcaption>High-level Architecture</figcaption></figure><p>Other important considerations we brainstormed while creating the data platform are:</p><ul><li><strong>Data Ingestion Framework</strong>: When designing your Azure data lake, it’s important to consider how data will be ingested into the system. In our case we decided to use Azure Data Factory as <a href="https://learn.microsoft.com/en-us/azure/data-factory/connector-sap-change-data-capture">connectors </a>are available for our primary data source ( SAP S4 HANA) which allowed us Change Data Capture(CDC). Also we wanted to automate and orchestrate the entire data ingestion process. So we adapted this <a href="https://mrpaulandrew.github.io/procfwk/">metadata driven framework</a>. We automated the entire orchestration from source to the gold layer and even the Power BI refresh. This was an important win as we could onboard any number of datasets from existing sources by just putting in the metadata configuration. This drastically decreased the lead time for data availability in Data Lake.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*RrasMv8SxULbGwBdpkF5mQ.png" /><figcaption>Metadata driven framework construct</figcaption></figure><ul><li><strong>Data Partitioning</strong>: To optimize query performance in your data lake, it’s important to consider how your data will be partitioned. With Medallion architecture, data is partitioned into layers based on its usage, such as bronze (accumulation), silver (merge) &amp; gold (transform).</li><li><strong>Metadata Management</strong>: With Medallion architecture, metadata management is critical for data discovery and lineage. To ensure a robust metadata management and data lineage within the data lake we used Unity Catalog.</li></ul><p>By considering these important design decisions you can build a robust and efficient Azure data lake with medallion architecture.</p><p>Were we able to cover everything — certainly not, we still need to improve the data discovery part specially for a lot of users who are making a transition from SAP ECC raw table to S4 HANA CDS views. Also the capabilities of <a href="https://www.databricks.com/blog/introducing-lakehouseiq-ai-powered-engine-uniquely-understands-your-business">LakehouseIQ </a>sounds very interesting. Maybe that’s the topic for the next blog.</p><p>Thanks for reading!! I would like to thank my team specially <a href="https://www.linkedin.com/in/nitasha-pursnani-4732b013a/">Nitasha</a>, Serhii Soboliev &amp; <a href="https://www.linkedin.com/in/o-kosyiev/">Oleksii</a> who teamed up with me to make this possible. If you have enjoyed reading, Clap &amp; Share it!! Let me know your thoughts &amp; feedback if you have done something similar.</p><p>To see similar posts, follow me on <a href="https://medium.com/@rajarsi.g">Medium </a>&amp; <a href="https://www.linkedin.com/in/rajarsi/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3887552bbd38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Azure Synapse SQL Data Load using Informatica PowerCenter]]></title>
            <link>https://medium.com/@rajarsi.g/azure-synapse-sql-data-load-using-informatica-powercenter-eca4503adc89?source=rss-22520d324bfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/eca4503adc89</guid>
            <dc:creator><![CDATA[Rajarsi Ghosh]]></dc:creator>
            <pubDate>Mon, 12 Oct 2020 14:15:36 GMT</pubDate>
            <atom:updated>2023-05-03T11:28:54.114Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a documentation of learnings from implementing a solution where we used Informatica PowerCenter hosted in a private datacenter to load data into Azure Synapse SQL (formerly SQL DW).</p><p>We can connect to Azure Synapse SQL from an on-premise Informatica PowerCenter like a SQL Server database using ODBC connectivity as long as the firewall/proxy is open and direct TCP/IP connectivity is there between Azure Synapse SQL and Informatica server. But we will not have the performance benefit that Azure Synapse SQL offers via <a href="https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/massively-parallel-processing-mpp-architecture">its MPP architecture</a> if we go this route. To utilize the benefits of the MPP architecture we need the <a href="https://docs.informatica.com/integration-cloud/data-integration-connectors/current-version/microsoft-azure-synapse-sql-connector/preface.html">native PowerExchange connector for Azure Synapse SQL</a>.</p><p>The PowerExchange for Microsoft Azure SQL Data Warehouse V3 is available via an additional license that you need to procure. The licensing part, I felt is a little convoluted so am keeping it outside the scope of this article.</p><p><strong>Informatica Connector Installation steps</strong></p><p>The details of the installation steps are covered fairly in the <a href="https://docs.informatica.com/data-integration/powerexchange-adapters-for-powercenter/10-2-hotfix-2/powerexchange-for-microsoft-azure-sql-data-warehouse-v3-user-gui/powerexchange-for-microsoft-azure-sql-data-warehouse-v3-configur.html">product documentation</a> but wanted to highlight a few points on which we encountered some issues.</p><ul><li>Integration Service configuration</li></ul><p>This is an important step in case your PowerCenter server is behind a proxy server (generally the case for any organization). Please note the new PowerExchange cloud connectors like the one we are using here needs custom properties to be set for the Proxy Server details. These connectors are unable to read the proxy setting from section HTTP Proxy Properties section of the Integration service so we need to add these custom properties. Also, we need to set the temporary directory location else it will use the default temp folder of UNIX/Linux server which may not have enough memory to handle large table load/extract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*AEII782Nur42ThUtLLnxJw.jpeg" /><figcaption>Snapshot of Integration Service Properties (IPs are for representational purpose)</figcaption></figure><ul><li>Registering Plugin</li></ul><p>This step enables the Azure DW option in the connection object menu in Workflow Manager. Without <a href="https://docs.informatica.com/data-integration/powerexchange-adapters-for-powercenter/10-2-hotfix-2/powerexchange-for-microsoft-azure-sql-data-warehouse-v3-user-gui/powerexchange-for-microsoft-azure-sql-data-warehouse-v3-configur/registering-the-plug-in.html">registering the plugin</a> you will not be able to create a new Azure Synapse connection in your Workflow Manager.</p><ul><li>Azure Synapse User creation</li></ul><p>We can configure Azure Active Directory (AAD) authentication to connect to Microsoft Azure SQL Data Warehouse or we can use the default Microsoft SQL Server authentication. In our case, we used Microsoft SQL Server authentication, and the SQL Server user created needs to have some specific <a href="https://docs.informatica.com/data-integration/powerexchange-adapters-for-powercenter/10-2-hotfix-2/powerexchange-for-microsoft-azure-sql-data-warehouse-v3-user-gui/powerexchange-for-microsoft-azure-sql-data-warehouse-v3-configur/prerequisites.html">permissions</a>.</p><ul><li>Connection Object Creation in Workflow Manager</li></ul><p>To create the connection object we will need the following attributes:</p><ol><li>JDBC URL : (We will get this from the Azure Synapse connection string properties)</li><li>JDBC Username : (SQL Server username)</li><li>JDBC Password : (SQL Server password)</li><li>Schema name: (The schema name of the tables)</li><li>BLOB Account Name: (Blob account name)</li><li>BLOB Account Key: (Access key of the Blob)</li></ol><p><strong>How Informatica PowerExchange connector for Azure Synapse works</strong></p><p>On a high level, the data load or extraction happens in 3 steps, though this is opaque to the end-user and seems to be one step process. Let us consider the load process in details:-</p><ul><li><em>Copy to the temp directory in Informatica Server:</em></li></ul><p>As a first step when you execute a session to load data into Azure Synapse SQL using the PowerExchnage connector for Azure Synapse, the data is copied from the source to the temporary storage as configured in the Integration service during setup.</p><ul><li><em>Copy of data from the temp location to Azure Blob</em></li></ul><p>The second step to the process is copying the data from the temporary storage in the Informatica server to Azure Blob. Do remember we have to configure Azure blob storage while configuring the Azure Synapse connection in the Workflow Manager. The configured Azure Blob is used as intermediate storage while loading or extracting data from Azure Synapse SQL. The data copy in this step happens over HTTPS, important for those looking into the security of data in transit.</p><blockquote>Do Note: We need to configure an Azure Blob account and not Azure Data Lake Storage Gen2 as ADSL Gen2 is not yet supported by the connector.</blockquote><ul><li><em>Ingestion of data from Blob to Azure Synapse using Polybase</em></li></ul><p>The last step in the process is the ingestion of data from the blob into the Azure Sypanse SQL database. This is done using the <a href="https://docs.microsoft.com/en-us/sql/relational-databases/polybase/polybase-guide?view=sql-server-ver15">Polybase </a>feature of Azure. So an external table is created on the file stored in the blob as a first step and then the data is copied over to the original table in the database.</p><blockquote>The same steps are followed in reverse order while extracting data from Azure Synapse SQL using PowerExchnage connector.</blockquote><p><strong>Issues Faced</strong></p><ul><li>Private endpoint for Azure Synapse</li></ul><p>If your on-premise Informatica server(s) are behind proxies (which will be the case mostly) and there are limitations on what kind of data can break through the internet then you might have to set up an <a href="https://docs.microsoft.com/en-us/azure/expressroute/expressroute-introduction">express route</a> and have a private endpoint for your Azure Synapse service.</p><ul><li>Configuring Proxy for the Azure Synapse Connector</li></ul><p>We faced a roadblock with the proxy setting while setting up the connector as we assumed the HTTP Proxy Properties (In the Integration service) is where we need to put our proxy server details but later on after connecting with the Informatica Support specialist we came to know we have to add the Custom Properties. <em>This particular aspect has not been covered in the Informatica documentation also.</em></p><ul><li>Database Owner permission for the Informatica user to Azure Synapse.</li></ul><p>Please keep a note on the <a href="https://docs.informatica.com/data-integration/powerexchange-adapters-for-powercenter/10-2-hotfix-2/powerexchange-for-microsoft-azure-sql-data-warehouse-v3-user-gui/powerexchange-for-microsoft-azure-sql-data-warehouse-v3-configur/prerequisites.html">DB permissions</a> required for the username to be created for Informatica to read/write data from Azure Synapse SQL. Our database security and compliance team were not willing to provide these permissions to the SQL Server user created for Informatica.</p><ul><li>Restricted network access to Azure Blob.</li></ul><p>Finally, the last issue we faced was on the accessibility of the Azure Blob that the connector uses as intermediate storage. If we restrict the blob access in the Firewalls and virtual networks section of the Azure Blob from All Networks to Selected Networks then the current connector will stop working. To use Azure Blob under VNET we have to use <a href="https://network.informatica.com/community/informatica-network/products/data_integration/informatica_platform/blog/2020/06/29/informatica-1041-is-now-available">Informatica PowerCenter 10.4.1</a>. We were using version 10.2 so could not enable this feature.</p><p><strong>Software Versions used</strong></p><ol><li>Informatica PowerCenter 10.2 HotFix 2</li><li>Informatica Server OS: Red Hat Enterprise Linux Server release 6.10 (Santiago)</li></ol><p>Thanks for reading!! If you have enjoyed, Clap &amp; Share it!! To see similar posts, follow me on <a href="https://medium.com/@rajarsi.g">Medium </a>&amp; <a href="https://www.linkedin.com/in/rajarsi/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eca4503adc89" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>