<?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 Archit Rastogi on Medium]]></title>
        <description><![CDATA[Stories by Archit Rastogi on Medium]]></description>
        <link>https://medium.com/@architrastogi_62941?source=rss-736f1f6f5822------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LRxSQ9fT2Nb7Wmas</url>
            <title>Stories by Archit Rastogi on Medium</title>
            <link>https://medium.com/@architrastogi_62941?source=rss-736f1f6f5822------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 17:39:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@architrastogi_62941/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[Challenges in testing ETL & exploring approaches]]></title>
            <link>https://medium.com/hevo-data-engineering/challenges-in-testing-etl-and-exploring-approaches-98ecd4029e4d?source=rss-736f1f6f5822------2</link>
            <guid isPermaLink="false">https://medium.com/p/98ecd4029e4d</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[etl]]></category>
            <category><![CDATA[data-pipeline]]></category>
            <dc:creator><![CDATA[Archit Rastogi]]></dc:creator>
            <pubDate>Fri, 09 Apr 2021 06:43:03 GMT</pubDate>
            <atom:updated>2021-04-15T05:50:56.621Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Challenges in testing ETL and exploring approaches</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*2l87pX0K4PhDELlNSUHXZA.png" /></figure><p>HEVO no-code data pipeline as a multi-tenant SaaS platform has multiple challenges for effectively testing out ETL (ELT) as a product.</p><p>We support a wide array of sources and destinations for our customers. Needless to say, ensuring data integrity and corruption-free data loading is the foremost requirement and can become a show-stopper in our start-up journey.</p><p>Broadly, we address concerns around debugging and instrumentation of the product under test, reporting results and collection of metrics, authoring-managing-organizing test cases, and suites, enabling us to create reusable, modular libraries and change management in a rapidly evolving, agile development cycle. Maintaining a safe environment throughout requires a formidable test framework. A test framework hence enables us to scale the team efforts to author and execute test plans throughout the development lifecycle.</p><p>Let us explore, implement and analyze the larger goal by dissecting it into smaller subproblems in this series of posts.</p><p>In this article, we comprehend the larger landscape, look through all directions and set the right requirements in HEVO’s context.</p><h3>The Complexity — INGESTION</h3><p>When it all starts — ingesting the source.</p><p>Our primary challenge is the overwhelming complexity of the user data.</p><ol><li>HEVO can ingest an unpredictable volume of data coming from a wide spectrum of data sources.</li><li>HEVO is built to handle data that is structured in ways we may not anticipate in its entirety.</li><li>HEVO works with sources that are configured to work in the way it meets their business requirements and still does not complain.</li></ol><p>Some raw ideas to begin with: <br>With a proper abstraction at our disposal, we should be able to efficiently express the test cases without worrying about low-level interactions with the source.</p><p>Next, make the data as first-class citizens in our test framework. We would want the data to be agnostic of the source.</p><p>This leads roughly to the below mental model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xwX8kihEb7uun0xu" /></figure><ol><li><strong>Abstract Data Source</strong> We have more than 100 sources supported on the platform. Sources can further be classified based on:<br>- how we fetch data from them<br>- how data is structured within a source</li><li><strong>Abstract test data:</strong> We define common traits and operations on user data agnostic of underlying source type.</li></ol><p>A Mind map below peeks into a bit more detailed nuances:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u-U3n-A9maSD-MTO" /><figcaption>A Mind map to explore Test Data</figcaption></figure><h3>Walking the Talk</h3><p>Next, below is the description of how we turned the cues and abstract requirements into a framework.</p><p>The automation around sources and the data types is powered using the python library SQL alchemy. While the SQL alchemy handles the low-level SQL dialect for all SQL compliant sources, we build a user library with two objectives:</p><ol><li>Allow the user to generate data for the underlying sources, as transparently as possible. In other words, data created for one source type could also be used across other sources.</li><li>Allow the user to polymorphically interact with all the sources. This means an insert operation on a source can also be used with other sources, using the same syntax. The underlying library translates the user intent into appropriate commands depending on the context.</li></ol><p>But how do we handle other sources like NoSQL or file-based sources like XML files lying on a drive?</p><ul><li>We define an adapter interface that allows users to define algorithms for translating data into compatible data types for non-relational sources.</li><li>For the second objective, we conform to the same interfaces, however, the underlying low-level implementation from SQL alchemy may not be used (as sources may not be SQL-compliant).<br>Hence, we do the hard work by integrating the respective client of the source into our library.</li></ul><h3>Conclusion</h3><p>We advocate a concept-driven, interface-defined approach to handle the broad number of use cases.</p><p>While implementing the right framework, we emphasize the below objectives — unstated but essential to overall automation:</p><ul><li>Have enough room for a larger team to contribute so the automation can grow organically.</li><li>Readable, maintainable, and modular code base as the product evolves with inevitable never-ending changes.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98ecd4029e4d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hevo-data-engineering/challenges-in-testing-etl-and-exploring-approaches-98ecd4029e4d">Challenges in testing ETL &amp; exploring approaches</a> was originally published in <a href="https://medium.com/hevo-data-engineering">Hevo Data Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>