<?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 Subhrant Pandey on Medium]]></title>
        <description><![CDATA[Stories by Subhrant Pandey on Medium]]></description>
        <link>https://medium.com/@subhrant97?source=rss-8bdfd9aef7d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_XXWhwYNAuQP75qPRPC3FA.png</url>
            <title>Stories by Subhrant Pandey on Medium</title>
            <link>https://medium.com/@subhrant97?source=rss-8bdfd9aef7d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 22:41:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@subhrant97/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[Essential Skills for a Data Engineer in 2022]]></title>
            <link>https://medium.com/@subhrant97/essential-skills-for-a-data-engineer-in-2022-da57a0e2db4?source=rss-8bdfd9aef7d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/da57a0e2db4</guid>
            <category><![CDATA[skills]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Subhrant Pandey]]></dc:creator>
            <pubDate>Mon, 13 Jun 2022 15:23:31 GMT</pubDate>
            <atom:updated>2022-06-14T09:45:32.158Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NQwi2xJ3Nygi_MGUDt5RnA.png" /><figcaption>Photo by <a href="https://unsplash.com/@avirichards?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Avi Richards</a> on <a href="https://unsplash.com/s/photos/computer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Welcome to the world of data engineering. In this blog we will try to cover few important skills for a data engineer. Before we start please remember that <em>Fundamentals are more important over Technologies</em>.</p><p>Feel free to add your opinion in the comments section :)</p><p><strong>Language : Python vs Scala vs Java</strong><br>Do you love English like syntax, proper data science tool support of Python <em>OR</em> you are in love with the robust support of Scala for concurrent and scalable systems <em>OR</em> you are in favour of evergreen Java. Before we start this best language battle, first we need to ask whether this question is correct ..? <br>Each language has its own advantage and disadvantages, it depends on your choice as well as your organisation which among these needs to be picked up. What I will suggest is to Learn Functional as well as Object oriented programming concepts in depth. It will help you in achieving your task no matter which language you choose.</p><p><strong>Databases : SQL vs NoSQL</strong><br>Databases are mainly divided into two different parallel worlds: SQL vs NoSQL<br><em>Relational databases also called as SQL database:</em> Almost all of the things which you heard regarding databases like primary key, foreign key, relationship etc belong to this world. This mainly works by connecting information from different tables through queries. For a Good Data Engineer you should be well versed with the RDBMS(relational database management) concepts and have to posses the ability of writing complex sql queries.</p><p><em>Non relational databases also called as NoSQL database:</em> We store all the the data in SQL DB and then try to shoot queries as per our requirement, but what if we have to run only specific type of queries? Then isn’t it better to store the results of that query? That’s what exactly happens in case of NoSQL Databases i.e We store data in an optimised way so that we don’t need write a complex query. Proficiency of atleast one NoSQL DB is really essential for data engineers these days.</p><p><strong>Big data framework</strong><br><em>Hadoop</em>: You should be proficient in the three important component of hadoop i.e Hadoop file storage system, Mapreduce and Yarn. Eventhough in its true form its somewhat outdated still best for understanding purpose of distributed computing and storage.</p><p><em>Spark</em>: It’s the most important technology for a Big Data Engineers currently. It’s a performance oriented version of map reduce :) i.e it does in memory computation and does’nt restrict itself to the two stage paradigm of map reduce instead uses multi level paradigm in the form of DAG.</p><p><em>Hive</em>: Hive is built on top of Hadoop i.e for every query you write in HQL, it uses Map Reduce to calculate the results. You can further optimise the execution time of your query by using engines like apache tez etc. Important concept with which you must be familiar are Internal vs External Table, Partitioning, bucketing, Vectorization, Indexing etc.</p><p><em>Apache Kafka</em>: These days real time data pipelines have became very crucial hence learning Apache kafka (or other stream processors like apache flink etc) will give you previledge in the world of data engineering.</p><p><strong>Cloud</strong><br>Almost in every organisation, they are either migrating from on premise to cloud or are already migrated to cloud, hence learning cloud is also very critical for data engineers now a days. Three major cloud player’s are AWS, AZURE, GCP.<br>There isn’t any need to learn all three, depending on what is being used in your organization of if you are planning to switch, then learning the cloud which is being used in your dream company will be beneficial.</p><p><strong>Data structure/ Algorithm</strong><br>To Emphasis the importance of this, You should know that almost every company have atleast one dedicated round for DS/DAA.<br>You don’t need to be candidate master on codeforces or 6 star coder on codechef, but must be proficient enough to solve the medium level programming questions.</p><p>Lastly but not the least knowledge of airflow, Jenkins, bitbucket will also help you in great deal!</p><p>So, that’s all in this Blog, hope you find my article helpful. Will see you in my next article. You can connect with me on LinkedIn @ <a href="https://www.linkedin.com/in/optimate">Subhrant Pandey</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da57a0e2db4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[44 SQL/Hive Interview Questions for Data Engineers]]></title>
            <link>https://medium.com/@subhrant97/45-sql-hive-interview-questions-for-data-engineers-e71f04d3854c?source=rss-8bdfd9aef7d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e71f04d3854c</guid>
            <category><![CDATA[hive]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[data-engineer]]></category>
            <dc:creator><![CDATA[Subhrant Pandey]]></dc:creator>
            <pubDate>Sat, 11 Dec 2021 18:11:01 GMT</pubDate>
            <atom:updated>2022-02-09T19:05:19.450Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Gxtu_4CM8WSsfg7lD3-QA.jpeg" /></figure><p>Data Engineer position is highly in demand in recent times, and having SQL/Hive knowledge will surely help in landing a job as a Data Engineer. So, here is the list of 44 such interview questions which I have been asked in recent Interviews.</p><p>PS: I have intensionally skipped the explaination to these questions so that you can check your preparation level :)</p><ol><li>Select * from table; How many mappers will be used?</li><li>What is stored routine procedure?</li><li>Explain Salting and Unsalting with an example.</li><li>Distinguish between Star and Snowflake schema.</li><li>Change datatype of an already existing table in Hive, does hive allows that?</li><li>Inital file column value 1234 (int) but now source changed that value to ‘abcd’, If in table datatype for that column is int what value will you receive?</li><li>Explain and differentiate Reducebykey &amp; groupbykey.</li><li>Find 2nd highest one without window function one with window function.</li><li>Find all transaction values which are in table a but not in table b. What SQL operator you will use?</li><li>Give a real world example where Left outer join can be used.</li><li>Hive optimisations techniques (V V V Imp))<br><em> Tez-Execution Engine<br> Usage of Suitable File Format in Hive<br> Hive Partitioning<br> Bucketing in Hive<br> Vectorization In Hive<br> Hive Indexing</em></li><li>T1(a,b)<br> 1 1<br> 1 1<br> 1 1<br> T2(a,b,c)<br> 2 2 2<br> 1 1 1<br> 1 1 1<br> 1 1 1<br> 1 1 1<br>Total record count in case left outer, reight outer and inner join operation?</li><li>Query 1: select * from Table_name limit 5; <br> Query 2: select col1_name,col2_name from table_name limit 5; <br> Query 3: select * from table;<br>For which query mapreduce will be invoked? Explain the reason.</li><li>What is MSCK repair command?</li><li>Explain with an example, Lead and Lag window functions.</li><li>Explain csv, avro, json,parquet &amp; orc file formats in detail.</li><li>What is serde?</li><li>U have inserted wrong records in the tables, what sql operation u will use to correct that?</li><li>Partioning and Bucketing with real world example?</li><li>What is Data skewness?</li><li>Second lowest salary using 3 different ways.</li><li>What is Hive compaction?</li><li>When we use partition and in which case bucketing is used?</li><li>Syntax of insert into and insert overwrite, how these two commands are different?</li><li>How can you stop a partition from being accessed in a query?</li><li>Different types of joins in Hive?</li><li>Difference between Delete Drop and Truncate command.</li><li>In Between Operator, are the end values are inclusive or exclusive?</li><li>Employee (emp id , name, salary, dept id) Department (dept_id dept_name) [Two departments -&gt; English &amp; HR]<br>The name of employee who has 3nd lowest salary in English department.</li><li>Write a SQL Query for which the goal is to combine multiple rows into single row, Example: I want to convert this<br>| col1 | col2| col3| col4 |<br>|x | y | z | 13::1|<br>|x | y | z | 10::2|<br>To<br>| col1 |col2 |col3 | col4 |<br>|x | y | z |13::1;10::2|</li><li>Assume that we have a csv file with below format first line is a Header:<br>sellerName,quatername,points<br>Michel,Q1,2000<br>Samkaran,Q2,3000<br>Sam sarles,Q3,6000 <br>Michel,Q2,3000<br>Michel,null,2000<br>Ben Strokes,Q1,null<br>Adam kellos,Q3,3000<br>1- Create your ownschema for the above dataset read the file and enforce the schema while reading.<br>2- Remove the record if there is a null in quater or points column only.<br>3- Save the dataframe in a tempview.<br>4- Write a spark sql to show the sellerName,totalpoints in all quaters, and a newfield rating according to the below condition.<br>if sum of all ponits in all quaters greater than 20000 then rating is “A”<br>if sum of all ponits in all quaters in between( 10000, 20000 )then rating is “B”<br>if sum of all ponits in all quaters in between( 5000, 1000 )then rating is “C”<br>in other case rating should be “D”</li><li>Stored Procedures vs Functions ?</li><li>What is SCD1 , SCD2 , SCD3?</li><li>Explain Hive and its architecture.</li><li>Explain working of Hive.</li><li>Explain Partitioning and Bucketing?</li><li>Explain External and Managed Tables.</li><li>What is Apache Tez.</li><li>What is Hive Thrift server.</li><li>When should we use SORT BY instead of ORDER BY?</li><li>Is it possible to change the default location of a managed table?</li><li>What are the Complex datatypes in Hive.</li><li>How dynamic partitioning helps in Hive? Explain.</li><li>How you will find duplicate records in a table? Write a HQL query.</li></ol><p>So, that’s all folks hope you find my article helpful. Will see you in my next article, till then Babbye.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e71f04d3854c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>