<?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 Jonathan Musni on Medium]]></title>
        <description><![CDATA[Stories by Jonathan Musni on Medium]]></description>
        <link>https://medium.com/@musni.jonathan7?source=rss-b48112559ea2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ADI6iDKnAdne4x_PUyZatg.jpeg</url>
            <title>Stories by Jonathan Musni on Medium</title>
            <link>https://medium.com/@musni.jonathan7?source=rss-b48112559ea2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:31:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@musni.jonathan7/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[How does Apache Iceberg find your select queries]]></title>
            <link>https://medium.com/towards-data-engineering/how-does-apache-iceberg-find-your-select-queries-7d4855811fff?source=rss-b48112559ea2------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d4855811fff</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[apache-iceberg]]></category>
            <category><![CDATA[apache-hive]]></category>
            <category><![CDATA[data-lake]]></category>
            <category><![CDATA[data-lakehouse]]></category>
            <dc:creator><![CDATA[Jonathan Musni]]></dc:creator>
            <pubDate>Fri, 13 Dec 2024 18:06:28 GMT</pubDate>
            <atom:updated>2024-12-19T07:16:13.354Z</atom:updated>
            <content:encoded><![CDATA[<p>If you ever had to look for data in a hive table, partition pruning can be painful. Forget one partition detail and you will end up with longer scans if not a full one. In this article we explore how iceberg looks for the file containing the data for a select query and how it compares to the old way of doing it in Hive</p><h3>How do you scan for data in hive table?</h3><p>Imagine if you have a hive table partitioned by date and hour</p><pre>-- This is a typical partitioned Hive table directory structure<br><br>/warehouse/events/<br>                  dt=2024–01–01/<br>                                hour=00/<br>                                        data_file_1.parquet<br>                                        data_file_2.parquet<br>                                hour=01/<br>                                        data_file_1.parquet<br>                                hour=02/<br>                                        data_file_1.parquet<br>                  dt=2024–01–02/<br>                                hour=00/<br>                                        data_file_1.parquet<br>                                                            …and so on</pre><p>Then you have to run a simple query</p><pre>SELECT * FROM events <br>WHERE dt = &#39;2024-01-01&#39; <br>AND hour BETWEEN &#39;00&#39; AND &#39;03&#39;;</pre><p>Hive has to:</p><ol><li>LIST the /warehouse/events/directory to find all date partitions</li><li>For each date partition that matches, LIST its directory to find hour partitions</li><li>Parse each directory name to check if it matches the conditions</li><li>Finally read the actual data files</li></ol><p>So for just one day’s data:</p><ul><li>First LIST operation for dates</li><li>Then 24 more LIST operations for each hour directory</li><li>Each LIST operations has network latency(hello to more S3 cost!)</li><li>This happens before even reading any actual data!</li></ul><h3>What about Iceberg?</h3><p>Iceberg does what its called hidden partitioning. Compare to how hive physically laid out the partition through directory structure as shown in the example above. Iceberg stores the partition details in a manifest list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jXhUBAM61YG0wQsjIw9TNQ.png" /><figcaption>Iceberg table format specification finding the data using manifest list</figcaption></figure><p>Here’s how Iceberg would handle the same query:</p><pre>SELECT * FROM events <br>WHERE event_timestamp BETWEEN <br>    &#39;2024-01-01 00:00:00&#39; AND <br>    &#39;2024-01-01 03:00:00&#39;;</pre><p>The lookup process:</p><ol><li>First, read the current snapshot pointer:</li></ol><pre>{<br>  &quot;snapshot-id&quot;: &quot;3498576&quot;,<br>  &quot;manifest-list&quot;: &quot;s3://bucket/metadata/manifest-list-3498576.avro&quot;<br>}</pre><p>2. Read the manifest list file:</p><pre>{<br>  &quot;manifests&quot;: [<br>    {<br>      &quot;manifest_path&quot;: &quot;s3://bucket/metadata/manifest-001.avro&quot;,<br>      &quot;partitions&quot;: [<br>        {&quot;hour&quot;: &quot;2024-01-01-00&quot;, &quot;file_count&quot;: 2},<br>        {&quot;hour&quot;: &quot;2024-01-01-01&quot;, &quot;file_count&quot;: 1}<br>      ]<br>    },<br>    {<br>      &quot;manifest_path&quot;: &quot;s3://bucket/metadata/manifest-002.avro&quot;,<br>      &quot;partitions&quot;: [<br>        {&quot;hour&quot;: &quot;2024-01-01-02&quot;, &quot;file_count&quot;: 1},<br>        {&quot;hour&quot;: &quot;2024-01-01-03&quot;, &quot;file_count&quot;: 1}<br>      ]<br>    }<br>  ]<br>}</pre><p>3. Read relevant manifest files to get data file locations:</p><pre>// manifest-001.avro<br>{<br>  &quot;data_files&quot;: [<br>    {<br>      &quot;file_path&quot;: &quot;s3://bucket/data/file_00001.parquet&quot;,<br>      &quot;partition&quot;: {&quot;hour&quot;: &quot;2024-01-01-00&quot;},<br>      &quot;record_count&quot;: 10000,<br>      &quot;column_stats&quot;: {<br>        &quot;event_timestamp&quot;: {<br>          &quot;min&quot;: &quot;2024-01-01 00:00:00&quot;,<br>          &quot;max&quot;: &quot;2024-01-01 00:59:59&quot;<br>        }<br>      }<br>    },<br>    {<br>      &quot;file_path&quot;: &quot;s3://bucket/data/file_00002.parquet&quot;,<br>      &quot;partition&quot;: {&quot;hour&quot;: &quot;2024-01-01-01&quot;},<br>      &quot;record_count&quot;: 8500,<br>      &quot;column_stats&quot;: {...}<br>    }<br>  ]<br>}<br><br></pre><p>4. Go directly to the needed data files</p><h3>Hive vs Iceberg Partitioning</h3><p>Key differences from Hive:</p><ul><li>Only 3 metadata reads (snapshot, manifest list, manifests)</li><li>No directory listing needed</li><li>Has file-level statistics for better filtering</li><li>Knows exactly which files contain relevant data</li><li>Much faster on object stores like S3</li></ul><p>Real performance impact:</p><ul><li>Hive: Might need 25+ LIST operations (1 for date, 24 for hours)</li><li>Iceberg: Just 3 GET operations for metadata, then direct file access</li><li>On S3 (100ms latency):</li><li>Hive: ~2.5 seconds just for listing</li><li>Iceberg: ~300ms for metadata</li></ul><p>To learn more about Iceberg:</p><p>Dremio — <a href="https://university.dremio.com/">https://university.dremio.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d4855811fff" width="1" height="1" alt=""><hr><p><a href="https://medium.com/towards-data-engineering/how-does-apache-iceberg-find-your-select-queries-7d4855811fff">How does Apache Iceberg find your select queries</a> was originally published in <a href="https://medium.com/towards-data-engineering">Towards Data Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[01 Journey starts here — Data Engineering with Jonathan]]></title>
            <link>https://medium.com/@musni.jonathan7/01-journey-starts-here-data-engineering-with-jonathan-69839a54b349?source=rss-b48112559ea2------2</link>
            <guid isPermaLink="false">https://medium.com/p/69839a54b349</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[engineering-journey]]></category>
            <category><![CDATA[data-engineer]]></category>
            <category><![CDATA[journey]]></category>
            <dc:creator><![CDATA[Jonathan Musni]]></dc:creator>
            <pubDate>Thu, 24 Oct 2024 02:06:12 GMT</pubDate>
            <atom:updated>2024-10-24T02:06:12.319Z</atom:updated>
            <content:encoded><![CDATA[<h3>01 Journey starts here — Data Engineering with Jonathan</h3><p>Like Bilbo Baggins from The Hobbit, this journey is unexpected but I am starting to embrace it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*qQnV1m6qhv9ALLJ_" /><figcaption><em>A journey of a thousand miles begins with a single step — an old adage</em></figcaption></figure><p>It will be one of the data engineering series out there. I do not guarantee that it will be different, as I have no intention of surpassing their content. My goal for this series is to help me learn Data Engineering, its principles, best practices, and technical implementations. Hopefully, you will also get valuable insights from me.</p><p>My career did not start with data. After graduating and passing the Electronics Engineering board exam, I went to biomedical engineering and telecommunication fields. I got frustrated with the lack of career growth and started learning Python for data science and machine learning. This sounds familiar to a lot of engineers.</p><p>I thought I will be staying in Data Science. It is fascinating until you need to find real business value. Some people are good at it. I am now content with helping these people as a Data Engineer. Yes! I went through the Data Scientist to Data Engineering pipeline real quick.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*87ytf89QmJVpDh7f.gif" /></figure><p>I will say I am still early in my career as a Data Engineer and this is the reason why I want to write about it. It forces me to learn and think clearly through all the concepts and principles so that I can present it clearly to other people, I need criticism from myself and others.</p><p>Where do we go from here? There are many things I want to learn and share — data modeling, orchestration, governance, and architecture among other cool data engineering stuff. I hope you can join me on this ride.</p><p><em>Stay tuned!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69839a54b349" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Applying with Confidence]]></title>
            <link>https://medium.com/@musni.jonathan7/applying-with-confidence-93632558741a?source=rss-b48112559ea2------2</link>
            <guid isPermaLink="false">https://medium.com/p/93632558741a</guid>
            <category><![CDATA[crew-ai]]></category>
            <category><![CDATA[job-hunting-strategies]]></category>
            <category><![CDATA[job-search]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Jonathan Musni]]></dc:creator>
            <pubDate>Thu, 22 Aug 2024 08:04:21 GMT</pubDate>
            <atom:updated>2024-12-17T23:20:04.710Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Tailoring your resume using LLM agents to fit the job posting but with honesty and integrity</blockquote><p><a href="https://github.com/jemusni07/Generative-AI-Applications/tree/main/Multi-Agentic-Job-Application-Helper">https://github.com/jemusni07/Generative-AI-Applications/tree/main/Multi-Agentic-Job-Application-Helper</a></p><p>Generative AI has revolutionized job applications. With tools like ChatGPT, you can quickly create a resume tailored to a job posting. However, this has made it hard for recruiters to sift through thousands of AI-generated resumes. Often, resumes are so embellished that the first phone interview is a waste of time for both the applicant and recruiter. The goal is to align your resume with the job posting honestly, without exaggerating your credentials.</p><h4>Here are some common issues in the job application process:</h4><p>Not all of your experiences are relevant to the role. You might not be sure which of your experiences align with the job. Manually aligning your resume to each role takes time, especially when applying to multiple jobs. This application helps you confidently send out resumes. It aligns your profile with the job posting without adding or exaggerating skills and experiences. The guardrails ensure your resume remains honest, helping you feel prepared for the interview stages that follow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r6JacmuQepop-cSk" /><figcaption><em>Guardrail against embellishment</em></figcaption></figure><p>This tool uses a hierarchical, multi-agent system with CrewAI and GPT-4. Each agent has a task, relying on previous tasks, and it uses context RAG (not vector RAG) to analyze the applicant’s profile and job posting. You can tweak agent parameters and prompts to guide the entire process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9KBkeQSkhvMMqIaG" /><figcaption><em>Multi-Agentic Job Application Helper with CrewAI and OpenAI GPT-4</em></figcaption></figure><h4>What You’ll Need:</h4><p>Resume/Work Profile/CV: A detailed profile covers all your skills and qualifications, letting the AI pick what’s relevant.</p><p>Job Posting Details: Include as much information as possible about the position, company culture, etc.</p><p>Cover Letter Guide: Provide guidance for your cover letter instead of letting the AI generate a generic one. Authenticity matters to hiring managers.</p><h4>What It Will Generate:</h4><p>A tailored, honest resume that fits the job posting. A cover letter that aligns with your resume, the job posting, and your additional inputs. Interview preparation material.</p><p>Remember, you control your job-hunting strategy. This tool is just one resource; it shouldn’t replace intentionality in your applications. Confidence and integrity are still key to a healthy career.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93632558741a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>