<?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 Adi Polak on Medium]]></title>
        <description><![CDATA[Stories by Adi Polak on Medium]]></description>
        <link>https://medium.com/@adipolak?source=rss-46b9b20c06bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*aK-BSakOtnI7zrGyg99XuQ.png</url>
            <title>Stories by Adi Polak on Medium</title>
            <link>https://medium.com/@adipolak?source=rss-46b9b20c06bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 03:04:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adipolak/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[The Developer Voice Guide: How To Write Articles Engineers Want To Read]]></title>
            <link>https://medium.com/@adipolak/the-developer-voice-guide-how-to-write-articles-engineers-want-to-read-446cdd1f0866?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/446cdd1f0866</guid>
            <category><![CDATA[writing-tips]]></category>
            <category><![CDATA[technical-writing]]></category>
            <category><![CDATA[developer-relations]]></category>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Wed, 31 May 2023 13:16:01 GMT</pubDate>
            <atom:updated>2023-06-04T12:33:45.520Z</atom:updated>
            <content:encoded><![CDATA[<p>Want to write an article that speaks authentically to engineers and lets you share your know-how? Get started with this guide. 💪</p><p><strong>What you’ll find inside:</strong></p><ol><li>Know yourself</li><li>Know your audience</li><li>Nine(9) practical tips to make your article more engaging</li><li>Edit the article</li><li>Show your article to someone else</li><li>Writing comes with day-2 operations, too!</li></ol><p>Bonus: final checklist</p><h3>1 - Know yourself: Understand your motivation &amp; keep your spirit up throughout the process</h3><p>Before setting down to write an article, ask yourself: <strong>what’s in it for me?</strong></p><p>Your end goal might be personal development and sharing your expertise with others. Writing helps here because it’s a forced way to think more clearly. Early Facebook employee Andrew “Boz” Bosworth shared a similar thought in <a href="https://boz.com/articles/writing-thinking">Writing is thinking</a>:</p><p><em>“Even when I write for my own benefit, it is undoubtedly a bonus that at the end I have a document which I can easily share to invite critiques or enlist support. I know of no more scalable way to engage a large audience than the written word.”</em></p><p><strong>Having a clear idea of your motivation </strong>is a great first step — and something that will keep you going throughout the process, especially when other things take priority over writing, and coming back to it will get hard.</p><h3>2 — Know your audience: Who’s at the receiving end of your article?</h3><p>Who are you writing for? What is the level of expertise in the topic? You may assume that they have some level of technical knowledge, but not everyone might be familiar with all the terms (this is where a glossary helps!).</p><p>Having <strong>a clear picture of the reader </strong>will help you explain the subject matter better. To clarify it, ask these questions before you sit down to write:</p><ul><li>Do they already know your product?</li><li>How does the reader feel about the topic before reading the article?</li><li>How should the reader feel about the topic after reading the article?</li></ul><h3>3 — 9 practical tips to make your article more engaging</h3><h4>3.1. Structure your article for clarity</h4><p>An article meant to engage software engineers is not the best place for unleashing your inner creativity. 😉</p><p>What you’re looking to do here is to <strong>get your point across in the least painful way for readers</strong>.</p><p>That’s why structuring your article is so important — it helps readers to follow your thoughts.</p><p>Use this structure to help readers understand your point:</p><ul><li><strong>Start your article with an introduction</strong> — set the context, say why the problem you’re solving is important, use examples from your experience, and instantly communicate the value of the article (what readers will get from reading it).</li><li><strong>Follow with the body text</strong> — make sure to divide the text with headings (H2, H3, H4, etc.) to make it scannable.</li><li><strong>End with a concluding section</strong> — it can be a summary of what you’ve done or — even better — broader conclusions about the field or predictions for the future use of some tool. What is the takeaway of the piece? What is the one, or two things I should leave the reader with?</li></ul><h4>3.2. Use active voice over passive voice</h4><p>Consider this example:</p><p><em>This feature can be used to do task X.</em> vs. <em>You can use this feature for task X.</em></p><p>The second sentence reads much better, doesn’t it?</p><p>This is the power of <strong>active voice</strong> over passive voice. Using it makes a massive difference in the readability of your article.</p><p>Plus, it helps you sound less like a robot and more like a human being — this is how we actually talk to each other. 😊</p><h4>3.3. Keep it short and sweet</h4><p>Explain your argument step by step without taking more time than necessary to dwell on each of the steps.</p><p>Use short sentences of <strong>25–30 words per sentence max</strong> to help your readers keep track of your thoughts.</p><p>Keep it simple to get your point across faster (and with less cognitive effort required from readers). Replace complex expressions with simpler ones — for example, <em>use</em> instead of <em>utilize.</em></p><h4>3.4. Educate without condescension</h4><p>In most articles out there, engineers try to explain the merits of their approach/solution. This creates a trap: you might end up sounding admonishing or condescending.</p><p>Instead, use a friendly, inclusive, and supportive tone. You don’t want to alienate readers or make them question their skills or knowledge. 😊</p><p>Mason Egger, an ex-developer advocate and community author at DigitalOcean known for its amazing docs, <a href="https://thenewstack.io/an-engineers-best-tips-for-writing-documentation-devs-love/">said</a> even words like “simple” or “easy” are tricky — what is ‘simple’ or ‘easy’ to someone might be challenging to someone else:</p><p><em>“You’d be surprised how many people get turned off by seeing something that other people tell them is simple, and then it’s not simple to them. It turns them off the entire project.”</em></p><p>Here are some more useful articles on this point:</p><ul><li><a href="https://www.knowledgeowl.com/blog/posts/dont-say-simply-jim-fisher/">https://www.knowledgeowl.com/blog/posts/dont-say-simply-jim-fisher/</a></li><li><a href="https://www.setcorrect.com/portfolio/work14/">https://www.setcorrect.com/portfolio/work14/</a></li><li><a href="https://css-tricks.com/words-avoid-educational-writing/">https://css-tricks.com/words-avoid-educational-writing/</a></li></ul><p>Note: A snarky tone can help you stand out when backed by deep subject expertise and empathy for readers. Here’s an excerpt from Corey Quinn’s newsletter that illustrates this:</p><p><em>“Amazon EMR Serverless cost estimator — If there’s one thing customers love, it’s having to jump through complex hoops to predict what their cloud cost is going to be.”</em></p><h4>3.5. Use tech jargon with care</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*HqsXGETECwHdTPVHfcFpHQ.png" /></figure><p>Tech jargon is great — it helps you to communicate with readers better and creates a sense that you all belong to one community of data practitioners.</p><p>But too much jargon or complex techy words might have an alienating effect on readers. So, avoid packing your sentences with terms others might have trouble understanding. Your goal is to get your point across, not sound smart. 😉</p><p>And if you use an acronym like ML, make sure to write out the full name the first time you use it.</p><h4>3.6. Be inclusive</h4><p>You never know who your reader is. When speaking about an abstract person like a developer, use gender-neutral words and pronouns: <em>they</em> instead of <em>he/she</em>.</p><p>Stick to second-person pronouns like “you.”</p><h4>3.7. Use examples and analogies</h4><p>Use analogies to describe more complex concepts.</p><p><strong>Don’t tell, but show instead. </strong>A picture says a thousand words. Including examples helps to explain things. Use illustrations, screenshots, images, gifs, code snippets, etc.</p><h4>3.8. Use text formatting readers are used to</h4><p>This helps them to navigate the text and quickly check if your article answers their questions. If you bury it in a long paragraph of text, the chances someone will take the time to dig it up are literally zero. The readers will just move to the next resource on the topic and never look back.</p><p>Here are a few things you can do:</p><ul><li>Create a visual hierarchy to help people quickly find the information they need.</li><li>Use text formatting to create levels of headings (such as H1 to H6 headings in HTML).</li><li>Add a <a href="https://en.wikipedia.org/wiki/TL;DR">TL;DR section</a> or summary at the beginning of your article.</li><li>And don’t forget about the table of contents!</li></ul><h4>3.9. Make it FUN (edutainment)</h4><p>Sure, you’re writing to share your knowledge and get your point across. But a little fun never goes amiss.</p><p><strong>We all love jokes, memes, and emojis.</strong> Include them in your article to make it more engaging. Don’t over-use them, though 😀</p><h3>4. Edit the article to make it more concise</h3><p>Once a draft is ready, it’s time to edit it! Editing is about making this piece more digestible for the reader:</p><ul><li>Go through the article to make sentences shorter and clearer. You can use tools like <a href="https://hemingwayapp.com/">Hemingway</a> here to make your article easier to read.</li><li>Catch spelling and grammar mistakes using a tool like <a href="https://www.grammarly.com/">Grammarly</a>.</li><li><em>It’s ok to cut out sections that make the article boring or too long</em>. You can always split it into parts — part 1 and part 2.</li></ul><h3>5. Show your article to someone else</h3><p>Getting a second pair of eyeballs to scan your article never hurts. 👀</p><p>Share your draft with a peer to get their feedback and check that your argument flow is clear. You might even get to see the problem from a new perspective and add the pieces missing in your argument to make it stronger.</p><h3>6. Writing comes with day-2 operations, too!</h3><p>Once your article has been published, it might receive amplification on social from readers. Be present, and don’t hesitate to reply!</p><p>If they suggest changes or identify typos, don’t get discouraged — applying these fixes will help you write better.</p><h3>Bonus: Final checklist</h3><p>So, you wrote an article? Amazing! 🎉</p><p>Take a look at this checklist to make sure that your article ticks all the boxes for maximum value:</p><ol><li>Does the title clearly reflect what this article is about?</li><li>Does the introduction of your article state the goal of this article and help readers understand whether it’s what they were looking for?</li><li>Did you include a table of contents or a TL;DR section?</li><li>Does your article have a clear structure?</li><li>Does your article have a clear visual hierarchy?</li><li>Does your article include examples? For instance, fragments of code, images, illustrations, gifs, screenshots?</li><li>Did you answer all the potential questions developers might ask about this topic?</li><li>Did you add all the relevant internal and external links to resources that might be useful for readers?</li><li>Is the content long enough to explain the topic exhaustively but not too long? Does your article go outside of its scope anywhere?</li><li>Does your article include details that can easily change? This might make it outdated soon. To avoid this, link to more up-to-date external sources instead of replicating their content.</li></ol><h3>This is it!</h3><p>If you enjoyed this story, please click the 👏 button. Feel free to leave a comment below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*0SCqyktC6QQn6lPT.jpeg" /></figure><p><a href="https://medium.com/@adipolak">Follow me</a> here, or <a href="https://twitter.com/adipolak">here</a> for more posts about Machine Learning, Big data, Technical writing and software engineers nonsense. Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=446cdd1f0866" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevEx — Year in Review: Thanks A-LOTL for an Outstanding 2022]]></title>
            <link>https://medium.com/@adipolak/devex-year-in-review-thanks-a-lotl-for-an-outstanding-2022-229f5a74ef97?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/229f5a74ef97</guid>
            <category><![CDATA[startupş]]></category>
            <category><![CDATA[product-led-growth]]></category>
            <category><![CDATA[developer-relations]]></category>
            <category><![CDATA[community]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Mon, 22 May 2023 08:35:47 GMT</pubDate>
            <atom:updated>2023-05-22T08:35:47.714Z</atom:updated>
            <content:encoded><![CDATA[<h3>DevEx — Year in Review: Thanks A-LOTL for an Outstanding 2022</h3><p><em>Originally published on lakeFS blog on January 4, 2023.</em></p><p>2022 has been an incredible year, in the same way, that roller coasters are thrilling. Our industry has seen many shifts and rapid changes — which we experienced together. In 2022, we witnessed how data engineering teams became increasingly central to any data-driven organization. And the growth of more significant roles of Analytics Engineers, ML Engineers and DataOps, which together build the next generation of modern data platforms. With these evolving roles and opportunities, many of us invest more time in learning and connecting with our peers. We attend conferences, meetups, and events to get together, network, and learn all the things. While creating world-wide industry standards and pushing the boundaries of what data can do for us 🎉.</p><p>So, let’s take a moment to reflect on the incredible successes and contributions we’ve made together with you, the lakeFS community, over the past year as we close out 2022. Here are a few highlights and what we are excited about in 2023.</p><p>The lakeFS open source project is experiencing constant growth. By using a data version control system, any data practitioner can apply engineering best practices in their team.</p><h3>lakeFS project had a great 2022</h3><p>This year lakeFS took a giant leap forward. It’s more secure, scalable and usable than ever before.</p><p>We’ve had over <a href="https://github.com/treeverse/lakeFS/pulls?q=is%3Apr+closed%3A2022-01-01..2022-12-31+">1,000 PRs</a> merged into the product — bug fixes, new features, scalability and security enhancements and documentation improvements. These PRs culminated in <a href="https://github.com/treeverse/lakeFS/releases">37 releases</a> of lakeFS in 2022. That’s an average of one release every 10 days!</p><p>But as always, this data is more interesting when put into context — let’s explore some of the notable things that changed for lakeFS:</p><h3>lakeFS is much easier to get started with.</h3><p>The team and I had worked hard on improving the initial installation. You can spin up a new lakeFS instance by simply running <a href="https://docs.lakefs.io/quickstart/run.html#running-locally-with-docker">docker run</a> — no dependencies required, no database to manage and maintain and no tricky network setups required.</p><p>Additionally, running a production-grade lakeFS installation on AWS is a `<a href="https://artifacthub.io/packages/helm/lakefs/lakefs">helm install</a>` away — lakeFS will take care of provisioning its own <a href="https://docs.lakefs.io/deploy/aws.html#run-the-lakefs-server">DynamoDB table</a> and other associated resources.</p><p>Perhaps more importantly — it’s much easier to get your existing data into that lakeFS installation. lakeFS now allows you to <a href="https://docs.lakefs.io/howto/import.html#zero-copy-import">import existing data into lakeFS without copying it</a>, all with a click of a button (or <a href="https://docs.lakefs.io/reference/cli.html#lakectl-import">cli command</a>, whichever you prefer 😀 ).</p><h3>lakeFS is more flexible than ever</h3><p>While lakeFS was always agnostic to which types of data are managed, this year we went a step further and provided users with more ways to control how their data is versioned. We introduced <a href="https://docs.lakefs.io/understand/how/merge.html#merge-strategies">merge strategies</a> to allow users to decide what happens when conflicting changes occur — and introduced <a href="https://docs.lakefs.io/reference/hooks.html#lua-hooks-experimental">Lua-based hooks</a> that allow users to customize what happens on commit, merge and branch actions — validation, downstream notifications and triggering external systems are all possible without having to manage a webhook server.</p><h3>Security, scalability, usability</h3><p>We’ve <a href="https://github.com/treeverse/lakeFS/pull/4719">implemented</a> <a href="https://github.com/treeverse/lakeFS/pull/4875">over</a> <a href="https://github.com/treeverse/lakeFS/issues/4637">a</a> <a href="https://github.com/treeverse/lakeFS/pull/4439">dozen</a> <a href="https://github.com/treeverse/lakeFS/pull/4495">optimizations</a> <a href="https://github.com/treeverse/lakeFS/pull/4497">to</a> <a href="https://github.com/treeverse/lakeFS/pull/4531">reduce</a> <a href="https://github.com/treeverse/lakeFS/pull/4622">latency</a> and increase the efficiency of all core components: the <a href="https://docs.lakefs.io/integrations/spark.html#use-the-lakefs-hadoop-filesystem">Hadoop Filesystem used by Spark applications</a>, lakeFS API server and the UI have all been vastly improved.</p><p>Additionally, we’ve put quite a bit of focus on making the lakeFS UI intuitive and friendly, allowing users to explore and manage the largest of datasets with ease.</p><p>We’ve even embedded <a href="https://duckdb.org/">DuckDB</a> — a full featured, high-performance OLAP database, <a href="https://lakefs.io/blog/lakefs-duckdb-embedding-an-olap-database-in-the-lakefs-ui/">right in the lakeFS UI</a> to allow users to explore tabular data objects right from the comfort of their web browser.</p><p><em>We felt your love and support through various metrics, including installations and community.</em></p><h3>Monthly active repositories growth</h3><p>High <em>(exponential!)</em> increase in our monthly active repositories, which indicates the high adoption of lakeFS OSS product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zKPcKmcml_w0p1gA" /><figcaption>Growth of lakeFS repositories</figcaption></figure><h3>Growth in new installations:</h3><p>Both open-source installations and our lakeFS Playground installations are growing exponentially.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sWjdJfTKTbOVAn2X" /><figcaption>Active companies using lakeFS in production is growing!</figcaption></figure><h3>What we are grateful for this year:</h3><p><strong>3,100 stars on Github!</strong></p><p><strong>Growing Slack Community</strong> — Crossing 1k slack users!</p><p><strong>More than 40 Events:</strong> we participated and spoke at more than 40 events this year! One of the most exciting presentations was by our community member and open-source contributor — Holden Karau. In her <a href="https://databricks.com/dataaisummit/session/tools-assisted-apache-spark-version-migrations-21-32/">presentation</a> she demonstrated using lakeFS in Netflix to safely upgrade her Apache Spark version by creating an <a href="https://docs.lakefs.io/use_cases/iso_env.html">isolated dev / test environment </a>for migration.</p><p><strong>Our O’Reilly course exploded: </strong>we collaborated with O’Reilly on a technical course and had more than 1600 people register and learn about CI/CD for data! What a joy developing best practices and designing industry standards together.</p><p><strong>Community content: </strong>our community has created 25! Articles on using lakeFS. With one of the most interesting being — <a href="https://medium.com/better-software/from-data-warehouse-to-data-lake-to-data-lakehouse-44ca03e0d624">From Data Warehouse to Data Lake to Data Lakehouse</a><strong> </strong>by Alex Punnen. And an extremely useful tutorial — <a href="https://medium.com/cloudandthings/fun-with-lakefs-1237f73d4a1c">Fun with lakeFS and Terraform</a> by Bjorn Olsen, which also contributed a Github repo with <a href="https://github.com/cloudandthings/cat-lakefs-demo">terraform to install lakeFS on aws</a>. Also a very cool success story from Enigma. Enigma engineers shared how moving to a data branching solution helped speed up their velocity by reducing testing time by 80%. full blog <a href="https://enigma.com/blog/post/improving-our-research-velocity-with-lakefs">here</a>.</p><figure><img alt="Courtesy of Alex Punnen — his system architecture on aws" src="https://cdn-images-1.medium.com/max/828/0*jLl4y1OZj8K00f40" /><figcaption><em>Courtesy of </em><a href="https://medium.com/better-software/from-data-warehouse-to-data-lake-to-data-lakehouse-44ca03e0d624"><em>Alex Punnen</em></a><em> — his system architecture on aws</em></figcaption></figure><p><strong>Our community members won innovator awards! </strong>We have many thought leaders and innovators in our community. Together, we push the boundaries of data systems to radically improve the lives of data practitioners. Read about <a href="https://lakefs.io/blog/lakefs-community-leonard-aukea-nominated-for-machine-learning-professional-of-the-year/">Leonard Aukea — who drives ML platform at Volvo — on his nomination for Machine Learning professional of the year!</a></p><p><strong>Our first in-person lakeFS meetup: </strong>As many of us want to meet in-person, we launched our first in-person lakeFS meetup of the year! We had fun and benefited from great presentations and hallway conversations. <em>We started organizing a few in-person meetups in different areas! (ping @Adi Polak in slack if you want to organize one in your city!)</em></p><p><em>in-person lakeFS meetup in San Francisco</em></p><p><strong>We had Axolotl fun! </strong>After meetups and events, many of us enjoy continuing the fun at a nearby brewery or an old-fashioned pub. It is common for us to continue our discussion of data best practices in a casual manner. If you want to get involved, join our <a href="https://lakefs.io/slack">slack</a> and <a href="https://www.meetup.com/lets-talk-data-sf/">meetups</a> for updates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GfOg8xMs4OMhVAmdebyc4w.jpeg" /><figcaption><strong>Holden Karau, Gwen Shapira, Corey Quinn, Adi polak</strong> and others in a <em>lakeFS casual get-together in SF after a successful Data &amp; AI conference</em></figcaption></figure><p><strong>lakeFS Cloud</strong> — We launched our first paid offer with lakeFS Cloud! We all got excited and the a<a href="https://lakefs.io/blog/proudly-announcing-lakefs-cloud/">nnouncement</a> on the launch of lakeFS cloud received lots of community love.</p><p><strong><em>Blog exploded! </em></strong><em>— </em>Thanks to the insightful insights and thought-provoking conversations in our community, we have seen an explosion of excitement around our blog with <a href="https://lakefs.io/blog/the-state-of-data-engineering-2022/">the 2022 state of data engineering</a> leading it (more than 50K readers). Other successful blog posts include: ​​<a href="https://lakefs.io/blog/5-common-and-painful-mistakes-data-engineers-make-and-how-to-avoid-them/">5 Painful mistakes data engineers make</a>, and how to avoid them, and <a href="https://lakefs.io/blog/7-winning-habits-of-effective-data-engineers/">7 Winning Habits of Effective Data Engineers</a>. We also published our <a href="https://lakefs.io/blog/data-products/">definitive guide to data products</a>, which gained a lot of readers, quotes and shares.</p><p><strong>Forbes featured our articles </strong>🤯</p><p>Investing in the developers and data practitioners community is something we’re passionate about. Einat Orr, CEO and co-founder of Treeverse, shared in her <a href="https://www.forbes.com/sites/forbesbusinesscouncil/2022/05/09/why-developer-experience-belongs-in-the-c-suite/?sh=3818014a2a78">article</a>, why developer experience/developer relations is a core role in the management team of any company that is building products for developers.</p><p>More articles on <a href="https://www.forbes.com/sites/forbestechcouncil/2022/12/05/how-to-build-a-data-strategy-that-can-help-deliver-value-fast/?sh=582c6bb44a32">how to build a data strategy</a> that can bring value fast — in an ever growing complexity of tools and frameworks. And <a href="https://www.forbes.com/sites/forbestechcouncil/2022/05/26/unlock-the-full-business-value-of-data-with-a-better-engineering-process/?sh=11f23bcb69f1">how better engineering processes</a> can unlock the full business value of data.</p><h3>Looking into the future:</h3><h4>Our plans for lakeFS project:</h4><p>Some highlights of the very packed <a href="https://docs.lakefs.io/roadmap.html">roadmap</a> for 2023:</p><ol><li><strong>Increase Support for open table formats:</strong> Apache iceberg, Apache hudi and delta lake — many of you asked and believe this is the future of data systems, table formats to become 1st class citizens in lakeFS.</li><li><strong>Azure as a first-class citizen:</strong> On top of Azure blob, Databricks and Synapse which are already supported, we’re adding ADLS, CosmosDB, and a full integration with Azure Active Directory.</li><li>Continue making sure lakeFS brings value to your data stack.</li></ol><h4>Slack:</h4><p>We’ll experiment with a variety of channels tailored to your needs:</p><ol><li><strong>Job seekers </strong>— We understand that the market is what it is, so, we decided to take an active approach and create dedicated channels to provide advice, soundboard and open doors for Job seekers community members. We also collaborate with recruiters and hiring managers. Our first networking event for 2023 is on Jan 24, in SF. <a href="https://lakefs.io/event/lets-talk-data-meetup-up/">Join us</a>.</li><li><strong>Data-discussion</strong> — bring industry news and highlights on a daily basis. It can be difficult to keep up with industry trends and updates, so we bring you the tl;dr of everything new and foster authentic, safe conversation about platforms and tools.</li></ol><h4>Content:</h4><p>I am excited to hire <a href="https://rmoff.net/2022/12/09/looking-forwards-and-looking-backwards/">Robin Moffatt</a> in 2023, which would support our content initiatives with Data best practices, practical tools, tutorials, and guides for data practitioners and lakeFS users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*AuY8FAgZTkttc9Qg" /><figcaption>Robin Moffatt joins Adi’s Team!</figcaption></figure><p>Thanks for being a part of this incredible journey, and here’s to 2023!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=229f5a74ef97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Missing Piece in Your Software Cycle — An Isolated Testing Data Environment for Spark]]></title>
            <link>https://medium.com/lakefs/the-missing-piece-in-your-software-cycle-an-isolated-testing-data-environment-for-spark-1732b58294fb?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/1732b58294fb</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[lakefs]]></category>
            <category><![CDATA[spark]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Fri, 02 Dec 2022 17:22:56 GMT</pubDate>
            <atom:updated>2022-12-02T17:22:56.006Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Missing Piece in Your Software Cycle — An Isolated Testing Data Environment for Spark</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YQA_OSHQprdvFTcg" /><figcaption>Photo by <a href="https://unsplash.com/@ashkfor121?utm_source=medium&amp;utm_medium=referral">Ashkan Forouzani</a> on <a href="https://unsplash.com?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A typical routine of a data engineer includes writing code, choosing and upgrading the compute infrastructure, and testing both the new and changed data pipelines. Most of the time, engineers looking to test the changes they wish to apply need to run their tested pipelines in parallel to production.</p><p>Every data engineer knows that this complex process involves many moving parts and manual tasks, such as copying data, updating configuration, and creating alternative paths.</p><p><strong>You can only imagine how time-consuming and error-prone such a workflow is. If something goes south, it might damage production or pollute the data lake.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2FmrnkgZ3iNZGRLWSg6p%2Fvideo&amp;display_name=GIPHY&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fclips%2Fcartoonnetwork-cartoon-network-pan-we-baby-bears-mrnkgZ3iNZGRLWSg6p&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia3.giphy.com%2Fmedia%2FmrnkgZ3iNZGRLWSg6p%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="480" height="270" frameborder="0" scrolling="no"><a href="https://medium.com/media/78e6c94fbeb6707bc92f226ca6f2b3db/href">https://medium.com/media/78e6c94fbeb6707bc92f226ca6f2b3db/href</a></iframe><blockquote><strong><em>You don’t have to worry; I’ve got you covered!</em></strong></blockquote><p>Luckily, as a data practitioner, you can take advantage of solutions that simplify this workflow. <a href="https://hubs.ly/Q01ttC-f0">lakeFS</a> lets you create a safe and automated development environment for data without having to copy or mock data. You can easily work on production pipelines without any significant engagement of DevOps resources.</p><h3><strong>What will you learn?</strong></h3><p>This tutorial demonstrates how to build a development and testing environment for validating your logic on a full-blown production data volume and variety, working with lakeFS and <a href="https://spark.apache.org/">Spark</a>. You will walk through the journey of creating a repository and building a Spark application while using lakeFS capabilities. You will learn how to data changes, revert them in cases of mistakes or other hiccups, and lately merge separate branches to reflect data changes from the isolated environments.</p><blockquote><strong><em>Ready to jump in? Just lakeFS it!</em></strong></blockquote><p><strong>Table of contents:</strong></p><ul><li>Multiple environments: What is their purpose?</li><li>Why not build an isolated testing environment for data?</li><li>Building a testing environment for data with Spark and lakeFS</li><li>Step 1: Creating a repository</li><li>Step 2: Upload and commit data</li><li>Step 3: Develop a Spark application on the isolated branch</li><li>Step 4: Rolling back or committing changes</li><li>Step 5: Merge and iterate in the development workflow</li></ul><h3>Multiple environments: What is their purpose?</h3><p>If you run ETL jobs directly in production, expect data issues to start flowing into dashboards, ML models, and other data consumers sooner or later.</p><p>When working with a data lake, it’s a good idea to have replicas of your production environment. They let you test and understand changes to your data without impacting the consumers of production data.</p><p>The most common approach that allows engineers to avoid making changes directly in production is creating and maintaining a second data environment (dev/test environment) where you first implement updates.</p><p><strong>One problem with this approach is that maintaining a separate environment is both time- and resource-consuming. For larger teams, doing that might force multiple people to share a single environment, which requires significant coordination among team members. This takes a lot of time as well.</strong></p><p>But there’s a way out.</p><h3>Why not build an isolated data testing environment?</h3><p>You can create an isolated testing environment using lakeFS. That way, you don’t have to spend another minute on maintaining multiple environments. On top of that, you can create as many environments as you need instantly — without copying one KB of data.</p><p>How does all that work? Let’s take a quick look at the lakeFS repository structure:</p><p>In a lakeFS repository, you will always find data located on a branch.</p><ul><li>Each branch works like a separate environment.</li><li>Branches are fully isolated, meaning that data changes on one branch do not affect other branches.</li><li>Objects that don’t change between two branches are never copied but shared by these branches via metadata pointers (shallow copy), which lakeFS manages.</li><li>If you apply a change on one branch and want it to be reflected on another, you can carry out a merge operation to update one branch with changes from another.</li></ul><p>When using lakeFS, you can create an isolated data environment a moment before testing a change. Once new data is merged into production, you need to delete the branch to remove the environment you don’t need anymore.</p><p>This approach differs from building a long-living test environment engineers use as a staging area to test all the data updates. With lakeFS, you can create a new branch for every single change to production that we want to make. And you can test multiple changes at one time.</p><p>Now that we covered the theory let’s see what building a test environment with lakeFS looks like in practice.</p><h3>Building a testing environment for data with Spark and lakeFS</h3><p>To get started, we need to create a repository and build a small Spark application.</p><p>Prerequisites</p><ul><li><strong>Installation of lakeFS Server</strong> — you can spin up a server via the playground or<a href="https://hubs.ly/Q01tQCNp0"> run one locally</a>.</li><li><a href="https://hubs.ly/Q01tQCz30"><strong>lakectl</strong></a> — The official <a href="https://hubs.ly/Q01tQCz30">lakeFS CLI</a>; download it — <a href="https://github.com/treeverse/lakeFS/releases">here</a>.</li></ul><p>Tip: <a href="https://www.youtube.com/watch?v=CIDrHVFnIJY">Click here</a> to see how to run lakeFS locally against your storage in less than 3 minutes.</p><h3>Step 1: Creating a repository</h3><p>Our first step is to create a new repository called `example-repo` that will hold our data. In the code below, we’re using an S3 bucket `example-bucket` as the underlying storage.</p><pre>$ lakectl repo create lakefs://example-repo s3://example-bucket/example-repo -d main<br>Repository: lakefs://example-repo<br>Repository &#39;example-repo&#39; created:<br>storage namespace: s3://example-bucket/example-repo<br>default branch: main<br>timestamp: 1660458426</pre><h3>Step 2: Upload and commit data</h3><p>We can download our data and upload it directly into our newly-created repository using the following command.</p><pre># Download data file - credit to Gutenberg EBook of Alice&#39;s Adventures in Wonderland<br># Or you can use any text file you like<br>$ curl -o alice.txt https://www.gutenberg.org/files/11/11-0.txt<br># Upload to our repository<br>$ lakectl fs upload -s alice.txt lakefs://example-repo/main/alice.txt<br>Path: alice.txt<br>Modified Time: 2022–08–14 09:35:16 +0300 IDT<br>Size: 174313 bytes<br>Human Size: 174.3 kB<br>Physical Address: s3://barak-bucket1/example-repo/ec827db52c044d3881cdf426b99819f3<br>Checksum: 7e56f48cb7671ceba58e48bf232a379c<br>Content-Type: application/octet-stream</pre><p>This is the starting point of our development project. We must commit the data to a point in time from which we can always roll back, reference, or branch.</p><pre>$ lakectl commit -m &quot;alice in wonderland&quot; lakefs://example-repo/main<br>Branch: lakefs://example-repo/main<br>Commit for branch &quot;main&quot; completed.<br>ID: bf099c651bf8ee914fca2b42824f05d2f48ac17bde80f4b34a5d9fb61839a620<br>Message: alice in wonderland<br>Timestamp: 2022–08–14 09:36:08 +0300 IDT<br>Parents: fdcd03133c44f982b2f294494253d479a3409abd08d0d6e2686ea8764f0677dc</pre><p>At this point, we recommend updating the development environment’s main branch regularly. This is how we can keep the development environment on par with production.</p><p>Since all the branches are isolated, we can choose to update your branch — and newly-updated branches will be created from the updated main branch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NX74LVt1e467GQPD" /></figure><h3>Step 3: Develop a Spark application on the isolated branch</h3><p>We need to start with a new branch to capture the state of our repository while working on our Spark application.</p><pre>$ lakectl branch create lakefs://example-repo/word-count1 -s lakefs://example-repo/main<br>Source ref: lakefs://example-repo/main<br>created branch &#39;word-count1&#39; bf099c651bf8ee914fca2b42824f05d2f48ac17bde80f4b34a5d9fb61839a620</pre><p>By creating a branch, you get an isolated environment that contains a snapshot of your repository. Note that this operation is lightweight — it doesn’t copy any data and still gives us an isolated space guaranteed not to change.</p><p>At this point, we can use the lakectl command to list the content of our development branch and see that it contains the same data as our main branch:</p><pre>$ lakectl fs ls lakefs://example-repo/word-count1/<br>object 2022–08–14 09:35:16 +0300 IDT 174.3 kB alice.txt<br>$ llakectl fs ls lakefs://example-repo/main/<br>object 2022–08–14 09:35:16 +0300 IDT 174.3 kB alice.txt</pre><p>Now it’s time to run a simple word count using Spark to generate a report based on our story. The first step is to set up the <a href="https://docs.lakefs.io/integrations/spark.html#two-tiered-spark-support">lakeFS Spark integration</a>:</p><pre>sc.hadoopConfiguration.set(&quot;fs.s3a.access.key&quot;,&lt;lakeFS access key ID&gt;)<br>sc.hadoopConfiguration.set(&quot;fs.s3a.secret.key&quot;,&lt;lakeFS secret access key&gt;)<br>sc.hadoopConfiguration.set(&quot;fs.s3a.path.style.access&quot;, &quot;true&quot;)<br>sc.hadoopConfiguration.set(&quot;fs.s3a.impl&quot;, &quot;org.apache.hadoop.fs.s3a.S3AFileSystem&quot;)<br>sc.hadoopConfiguration.set(&quot;fs.s3a.endpoint&quot;, &quot;http://s3.local.lakefs.io:8000&quot;)<br>val branch = &quot;s3a://example-repo/word-count1/&quot;<br>val textFile = sc.textFile(branch + &quot;alice.txt&quot;)<br>val counts = textFile.flatMap(line =&gt; line.split(&quot; &quot;)).map(word =&gt; (word, 1)).reduceByKey(_ + _)<br>counts.saveAsTextFile(branch + &quot;wc.report&quot;)</pre><p>Access to our repository is enabled via the S3 interface — all we need to do is set the s3a endpoint and credentials based on our lakeFS installation.</p><p>Running the command above will generate a word count report. To see it, we can use lakectl diff:</p><pre>$ lakectl diff lakefs://example-repo/word-count1<br>Ref: lakefs://example-repo/word-count1<br>+ added wc.report/_SUCCESS<br>+ added wc.report/part-00000<br>+ added wc.report/part-00001</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vME8WcDx1CRDrKNL" /></figure><p>If there’s any problem with the generated data, we can always discard all the uncommitted changes with a single command that resets the branch:</p><pre>$ lakectl branch reset lakefs://example-repo/word-count1 - yes<br>Branch: lakefs://example-repo/word-count1</pre><h3>Step 4: Rolling back or committing changes</h3><p>Once testing is completed, we’re ready to commit our changes. We can include additional metadata fields in our lakeFS commit — for example, by specifying its git commit hash, we can reference the code used to build the data.</p><pre>$ lakectl commit lakefs://example-repo/word-count1 -m &quot;word count&quot; - meta git_commit_hash=cc313c5<br>Branch: lakefs://example-repo/word-count1<br>Commit for branch &quot;word-count1&quot; completed.<br>ID: 068ddaf6b4919e5bf97a14d254ba5da64fa16e7fef438b1d65656cc9727b33df<br>Message: word count<br>Timestamp: 2022–08–14 11:36:16 +0300 IDT<br>Parents: bf099c651bf8ee914fca2b42824f05d2f48ac17bde80f4b34a5</pre><p>By using the `meta` flag, we can easily store multiple metadata key/value pairs to label our commit. Later on, we can take a look at the log and use the referenced data.</p><pre>d9fb61839a620<br>$ lakectl log lakefs://example-repo/word-count1<br>ID: 068ddaf6b4919e5bf97a14d254ba5da64fa16e7fef438b1d65656cc9727b33df<br>Author: barak<br>Date: 2022–08–14 11:36:16 +0300 IDT<br>word count<br>git_commit_hash = cc313c5<br>ID: bf099c651bf8ee914fca2b42824f05d2f48ac17bde80f4b34a5d9fb61839a620<br>Author: barak<br>Date: 2022–08–14 09:36:08 +0300 IDT<br>alice in wonderland<br>ID: fdcd03133c44f982b2f294494253d479a3409abd08d0d6e2686ea8764f0677dc<br>Date: 2022–08–14 09:27:06 +0300 IDT<br>Repository created</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cTg93zoxOSt2PUgB" /></figure><p>The commit ID — for instance, 068ddaf6b4919e5b — can be used by our CLI to address the repository.</p><pre>$ lakectl fs cat lakefs://example-repo/068ddaf6b4919e5b/wc.report/part-00000<br>(&quot;Found,2)<br>(someone,1)<br>(plan.&quot;,1)<br>(bone,1)<br>(roses.,1)<br>…<br>Or by our application as s3a address:<br>s3a://example-repo/068ddaf6b4919e5b/wc.report</pre><h3>Step 5: Merge and iterate in the development workflow</h3><p>Once both the code and data are committed, we can review them together before deciding to merge our new data into the main branch.</p><pre>$ lakectl merge lakefs://example-repo/word-count1 lakefs://example-repo/main<br>Source: lakefs://example-repo/word-count1<br>Destination: lakefs://example-repo/main<br>Merged &quot;word-count1&quot; into &quot;main&quot; to get &quot;50d593e52cba687f2af7894189b381ebafdf7495f9e65a70ba2fc67e4e8c0677&quot;.</pre><p>The merge operation will generate a commit in the target branch with all the changes we have applied.</p><p>Committing is a quick and atomic metadata operation. lakeFS doesn’t copy any data during the process. Moreover, the data is stored only once. If we decide to merge changes to multiple objects, we are guaranteed that they all show up in our destination branch at the same time.</p><p>Optionally, we can delete the feature branch once we no longer need it using this command:</p><pre>$ lakectl branch delete lakefs://example-repo/word-count1 - yes<br>Branch: lakefs://example-repo/word-count1</pre><h3>Let’s sum it up!</h3><p>Building an isolated development and testing environment for a data lake can be easy. I showed you how to do it with lakeFS and hope you feel empowered to take this open-source solution for a spin.</p><p>Note that all the content above is just suggestions — what matters is the concept and methodology.</p><h3>💡 Curious to learn more?</h3><p>Check out <a href="https://hubs.ly/Q01ttC-f0">lakeFS docs</a> for more guides and detailed information on how to get started.</p><p>Join the awesome<a href="https://join.slack.com/t/lakefs/shared_invite/zt-1kokn8lv9-xL1Gp~V6JLx7bEhTpobzvg"><em> lakeFS data practitioners’ Slack community</em></a> to meet like-minded people, ask questions, and share your wicked smart insights!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1732b58294fb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lakefs/the-missing-piece-in-your-software-cycle-an-isolated-testing-data-environment-for-spark-1732b58294fb">The Missing Piece in Your Software Cycle — An Isolated Testing Data Environment for Spark</a> was originally published in <a href="https://medium.com/lakefs">lakeFS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Serverless SQL and how to use it for Data Exploration?]]></title>
            <link>https://medium.com/data-science/what-is-serverless-sql-and-how-to-use-it-for-data-exploration-eadad1f1a036?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/eadad1f1a036</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-exploration]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Tue, 01 Dec 2020 14:17:41 GMT</pubDate>
            <atom:updated>2020-12-10T10:31:34.920Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Serverless SQL? And how to use it for Data Exploration</h3><h4>Data Exploration tools for Data Scientists</h4><p>So, you are a data scientist, you work with data and need to explore it and run some analytics on the data before jumping into running extensive machine learning algorithms.</p><p>Let’s start by examining what Serverless is.</p><h3>Serverless:</h3><p>According to <a href="https://en.wikipedia.org/wiki/Serverless_computing">Wikipedia</a>, serverless computing is a cloud computing execution model where the cloud provider manages the server and dynamically allocates the resource needed to finish the task.</p><p>That means, as users, we are in charge of the logic only. We don’t need to take care of the servers, capacity planning, or maintenance operations scale. It doesn’t mean they are not happening; they are, just not by us. 😁</p><h3>What is SQL?</h3><p>According to <a href="https://en.wikipedia.org/wiki/SQL">Wikipedia</a>, SQL is a domain-specific programming language used for managing data held in relational databases.</p><h3>So what is Serverless SQL?</h3><p>Serverless SQL is a distributed computing tool that enables us to process distributed data using SQL language without managing the databases servers themselves. If we have data, or “big data” in one or more of our data lake/storages, like <a href="https://aws.amazon.com/s3/">AWS S3</a> or <a href="https://azure.microsoft.com/en-us/services/storage/blobs/?WT.mc_id=data-11347-adpolak">Azure blob storage,</a> we can run SQL query on that data without the need to build a pipeline or inject the data into distributed databases such as Cassandra or MongoDB.</p><p>This is a huge advantage, especially when we would like to interact with offline data without creating the pipelines or peek at completely fresh new data that was just sunk into the storage before replicating/transforming and saved into a dedicated Database.</p><p>As with all cloud services, there is a need to understand the cost model. with serverless, we pay-per-use. That means that we pay for the amount of processed data.</p><p>If we ran a select * query on 2TB, the prices would be calculated by the 2TB data processed. This can be more cost-efficient than having a dedicated pool of servers, depends on the company/group needs.</p><h3>Let’s take a look at a use case where explore data with Serverless SQL</h3><p>We will look into the famous<a href="https://azure.microsoft.com/en-in/services/open-datasets/catalog/?WT.mc_id=data-10095-adpolak"> NYC Taxi dataset from the open datasets</a> and will try to understand what is the state of taxis in the city, what is the time during the day that people take taxies, and more. This information will help us with the exploration of the data phase.</p><p>For Serverless SQL, I use <a href="https://docs.microsoft.com/en-us/azure/synapse-analytics/sql/tutorial-data-analyst?WT.mc_id=data-10095-adpolak">Azure Synapse workspace</a>, you can use it as well, or take a look at <a href="https://cloud.google.com/bigquery">Big Query</a> or explore other tools.</p><p>First thing, let’s take a look at the data, select top 100 will return the first 100 rows from the parquet file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/395701d1a1becf716b7425e0c61bd70b/href">https://medium.com/media/395701d1a1becf716b7425e0c61bd70b/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1dnShOWoqH2k-cZRQBl7XA.png" /><figcaption>This is the select operation results in Table</figcaption></figure><p>We can look at it in a table format or chart format. currently, the chart will not give us much information as our query was a simple <em>select</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-AO35GWNYWQbXPCWZ_JDhw.png" /></figure><p>But, we can start exploring the data using the category column, labels, and much more.</p><p>Let’s take a look at rides per year, in between the years 2014 and 2019, this will give us the time series insights into what is happening along the years:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6fc5edc92d8893cbb30d1ae8325b4616/href">https://medium.com/media/6fc5edc92d8893cbb30d1ae8325b4616/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*He_Y-UQv0KPt_NPLDAVQLQ.png" /><figcaption>Chart outcome</figcaption></figure><p>Looking at the chart, we can see that there is a significant decrease in how many people are taking taxis in NYC over the years. Starting with 165 M taxi rides in 2014 and decreasing to 44 M taxi rides in 2019.</p><p>That can be because of better city transport in the city like metros, buses, or new ride-sharing companies that came into that market during that period of time like Uber and Lyft.</p><p>Now, let’s take a look at a single year:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6bffab1739cc66481818b49cdba0b5f2/href">https://medium.com/media/6bffab1739cc66481818b49cdba0b5f2/href</a></iframe><p>Running the query and looking at the results, under the chart, we can see a pattern where during the weekends there are fewer rides, we will achieve that by changing the views of the chart according to our needs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o_pODNWDfA3_juLMG0UZpA.png" /></figure><p>It might be related to the fact that during public holidays, people are less likely to take taxis, we will join the table of NYC Taxi data with United State Holiday data.</p><p>All this data is under the open-source datasets and is available for you to query and use.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a4a9806f09ba31962cd27460fb28b864/href">https://medium.com/media/a4a9806f09ba31962cd27460fb28b864/href</a></iframe><p>This query can be divided into 3 queries</p><ol><li>Define taxi_ride temp table</li></ol><p>Here we are pulling data from the data lake, selecting, casting date information and counting the rides for 2016, and grouping rides per day.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d134253671c11f5a0880034a64a13553/href">https://medium.com/media/d134253671c11f5a0880034a64a13553/href</a></iframe><p>2. Define public_holiday temp table:</p><p>Here we are pulling data from the data lake, but from a different table, selecting the holiday for the United-States during 2016.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6a97a6123e1ac5942a4c154d999df06/href">https://medium.com/media/f6a97a6123e1ac5942a4c154d999df06/href</a></iframe><p>3. Combining it:</p><p>Using the withoperator the beginning of the query and the 3rd query referring to both new temp tables, we can run join on the table with the date column as a key.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/61248edb1b39213abdc3845bffa68720/href">https://medium.com/media/61248edb1b39213abdc3845bffa68720/href</a></iframe><p>Running the query on our Serverless SQL engine will give us this chart, where we can tweak the columns to better explore and understand the data:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fn8vYG6Z5eZafLGX6gS5Yg.png" /></figure><p>As long as the data is available for use in a data lake, either public or by our company, we can easily do the exploration process using Serverless SQL.</p><p>We can later save the view/output that we created and share it with our colleagues or download the image using the <em>save as image</em> button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJaP-rVhnN_YK7cJ5Eypgg.png" /><figcaption>Save as Image button</figcaption></figure><h4>Curious to learn more?</h4><p>Watch the free workshop on it <a href="https://channel9.msdn.com/Events/MS-Create/Data?WT.mc_id=Data-0000-adpolak">here</a>.</p><p>We will look into:</p><ul><li>running queries</li><li>cost</li><li>SQL functionality</li><li>SQL optimizations</li></ul><p><strong>Notes</strong></p><ul><li>Serverless SQL is not built for Real-Time analytics and workloads that require millisecond response.</li><li>The serverless SQL cost model is pay by usage</li></ul><p>Thank you for reading so far. Happy to take your question, input, and feedback on <a href="https://twitter.com/AdiPolak">@adipolak</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eadad1f1a036" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/what-is-serverless-sql-and-how-to-use-it-for-data-exploration-eadad1f1a036">What is Serverless SQL and how to use it for Data Exploration?</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tech Exceptions is Going Live]]></title>
            <link>https://medium.com/microsoft-for-startups/tech-exceptions-is-going-live-e0595d79a814?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0595d79a814</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[autonomous-cars]]></category>
            <category><![CDATA[autonomous-vehicles]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[news]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Tue, 10 Nov 2020 16:23:18 GMT</pubDate>
            <atom:updated>2020-11-10T16:23:18.440Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*jcN6RY0rB36h2w8n6fLxgw.png" /></figure><p>Today, I’m excited to share a project I’ve worked on for the last couple of months. An interview-based video series: <strong>“Tech Exceptions”</strong>, highlighting Startups technical stories.</p><p>In the first episode, we interview <a href="https://alexgkendall.com/">Alex Kendall</a>, CEO of <a href="https://wayve.ai/">Wayve</a>, a startup that develops artificial intelligence for autonomous vehicles capable of driving in any urban environment, anywhere in the world. Alex shares his personal journey and what lead him to start Wayve, how Wayve is building the largest autonomous driving academy in the world, their challenges with processing huge amounts of data, and how it all connected to video and VR games.</p><h4>Background on Wayve technology:</h4><p>Wayve is building the world’s largest fleet learning/academy system. Their system learns how to drive in any urban environment with one giant neural network.</p><p>This requires the process of training very large deep learning models over petabytes of video driving data. For enabling this huge and complex neural network ML model, they use Azure services.</p><p>High level of their fleet learning lifecycle:<br> Ingest -&gt; train -&gt; simulate -&gt; deploy-&gt; on road testing</p><p>Wayve is a graduate of the Microsoft for <a href="https://startups.microsoft.com/en-us/driving/?WT.mc_id=TE-0000-adpolak">Startups Autonomous Driving program</a> and works closely with Microsoft.</p><p>Here is a sneak peek:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fembed%2FGEdJ4tY3RgU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fwatch%3Fv%3DGEdJ4tY3RgU&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.ytimg.com%2Fvi%2FGEdJ4tY3RgU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c2b6b3774d3f907533134034af3bc324/href">https://medium.com/media/c2b6b3774d3f907533134034af3bc324/href</a></iframe><h4>Tune in on November 11th, 2020 for the 1st episode to be launched on <a href="https://bit.ly/36gt5PL">Channel 9</a>.</h4><p>Don’t miss out! Make sure to follow <a href="https://twitter.com/AdiPolak">Adi Polak</a> and <a href="https://twitter.com/TechExceptions">Tech Exceptions</a> on social media for more information and updates!</p><p>Make sure to subscribe to the <a href="https://bit.ly/36gt5PL">Tech Exceptions Show</a> for lots more exciting episodes coming up!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0595d79a814" width="1" height="1" alt=""><hr><p><a href="https://medium.com/microsoft-for-startups/tech-exceptions-is-going-live-e0595d79a814">Tech Exceptions is Going Live</a> was originally published in <a href="https://medium.com/microsoft-for-startups">Microsoft for Startups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Becoming a Data Engineer]]></title>
            <link>https://becominghuman.ai/becoming-a-data-engineer-b9fd3343b153?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9fd3343b153</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[courses-and-training]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-engineer]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Mon, 21 Sep 2020 08:09:54 GMT</pubDate>
            <atom:updated>2020-10-01T14:07:56.708Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K6v1lw7W34IYp6XtQoDaAg.jpeg" /></figure><p>To become a <a href="http://becominghuman.ai">data engineer</a>, there are various skills and software to learn, but the basics are the same!</p><p>Today, there are multiple <a href="https://becominghuman.ai/data-science-simplified-principles-and-process-b06304d63308">data engineers</a>’ certificates and courses that you can take.<br> Here are the free ones; they cover <strong>the basics</strong>, which are the most important part to grasp and understand, and later introduce specific Azure technologies.</p><p>They are <strong>free</strong> and will help you cover the basics and Get Started.</p><p>Later it will be easier for you to jump into <strong>any</strong> technology related to data engineering.</p><figure><a href="https://aijobsboard.com/?fbclid=IwAR0GcsLs8A6CFM-fynrZMM3sTgo_Zpbto2CjglJm0Dmi6otC6YWc7CDFpQk"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dAlwXfVrtYspdCzmC8iADw.png" /></a><figcaption>Artificial Intelligence Jobs</figcaption></figure><h3>Free Courses to cover the Basics:</h3><p>📚 <a href="https://bit.ly/2RXJ12Z">Services for Data Engineer</a><br> 📓 <a href="https://bit.ly/3hP8K87">Store Data</a><br> 📙 <a href="https://bit.ly/2FLpDna">Work with Relational Data</a><br> 📒 <a href="https://bit.ly/3kEzh9N">Work with NoSql solution</a><br> 📘 <a href="https://bit.ly/33S8nF0">Large scale data processing with Data Lakes</a><br> 📗 <a href="https://bit.ly/3mME5Mz">Implement a Data Streaming Solution with Azure Streaming Analytics</a><br> 📕 <a href="https://bit.ly/3iKhVYJ">Implement a Data Warehouse</a></p><p>Each module will take you about 4 hours to complete. If you are completing 1 every weekend, it will take you only 7 weekends.<br> After it, you will be ready to take the certification exam.</p><p>the certificate is not free, but you can apply for a scholarship through the link.</p><h3>Trending AI Articles:</h3><blockquote><a href="https://becominghuman.ai/microsoft-azure-machine-learning-x-udacity-lesson-4-notes-ab5444ed9227">1. Microsoft Azure Machine Learning x Udacity — Lesson 4 Notes</a></blockquote><blockquote><a href="https://becominghuman.ai/fundamentals-of-ai-ml-for-product-managers-64279e9d3681">2. Fundamentals of AI, ML and Deep Learning for Product Managers</a></blockquote><blockquote><a href="https://becominghuman.ai/roadmap-to-data-scientist-b1dcb17896e7">3. Roadmap to Data Science</a></blockquote><blockquote><a href="https://becominghuman.ai/work-on-artificial-intelligence-projects-65ea39a42106">4. Work on Artificial Intelligence Projects</a></blockquote><p>Now, after you finish understanding everything, you can start diving into any technology related to data!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*sQ40D54fuhUq19Un.gif" /></figure><p>I hope this helps you get started and get a <a href="https://becominghuman.ai/becoming-a-data-scientist-data-analyst-financial-analyst-and-research-analyst-d9ec01a9d11d">Data Engineer</a> role fast!</p><p>Have concerns? would you like to chat? send me a private message on <a href="https://twitter.com/AdiPolak">twitter</a>.</p><h3>Don’t forget to give us your 👏 !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*2lvCls4yjxVMfZSR" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fupscri.be%2F8f5f8b%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fupscri.be%2F8f5f8b&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/c43026df6fee7cdb1aab8aaf916125ea/href">https://medium.com/media/c43026df6fee7cdb1aab8aaf916125ea/href</a></iframe><figure><a href="https://becominghuman.ai/artificial-intelligence-communities-c305f28e674c"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*2f7OqE2AJK1KSrhkmD9ZMw.png" /></a></figure><figure><a href="https://upscri.be/8f5f8b"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*v-PpfkSWHbvlWWamSVHHWg.png" /></a></figure><figure><a href="https://becominghuman.ai/write-for-us-48270209de63"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*Wt2auqISiEAOZxJ-I7brDQ.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9fd3343b153" width="1" height="1" alt=""><hr><p><a href="https://becominghuman.ai/becoming-a-data-engineer-b9fd3343b153">Becoming a Data Engineer</a> was originally published in <a href="https://becominghuman.ai">Becoming Human: Artificial Intelligence Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spark & AI summit and a glimpse of Spark 3.0]]></title>
            <link>https://medium.com/data-science/spark-ai-summit-and-a-glimpse-of-spark-3-0-5fe0775386de?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fe0775386de</guid>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[big-data-analytics]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Tue, 02 Jun 2020 15:35:19 GMT</pubDate>
            <atom:updated>2020-06-08T08:09:24.960Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*mvrU4VpVx2hDUayA0fdtSw.jpeg" /></figure><p>If there is a framework that super excites me, it’s Apache Spark.<br> If there is a conference that excites me, it’s the Spark &amp; AI summit.</p><p>This year, with the current COVID-19 pandemic, the North America version of the Spark &amp; AI summit is online and <a href="https://databricks.com/sparkaisummit">free</a>. No need to travel, buy an expensive flight ticket, pay for accommodation and conference fees. It’s all free and online.</p><p><strong>One caveat</strong>, it is in pacific timezone(PDT) friendly hours. I kind of wish the organizers would take a more global approach.</p><p>Having said that, the agenda and content look promising!</p><p>To get ready for the conference and learn about Spark 3.0 <br> I decided to spin a Spark 3.0 cluster with <a href="https://docs.microsoft.com/azure/azure-databricks/quickstart-create-databricks-workspace-portal?WT.mc_id=blog-spark3-adpolak">Azure Databricks</a>, you can do the same or use the <a href="https://community.cloud.databricks.com/login.html">Databricks Community Edition</a>. <br> Please note that with community edition, there are no workers nodes.</p><h3>The Workspace:</h3><ul><li><a href="https://docs.microsoft.com/azure/azure-databricks/quickstart-create-databricks-workspace-portal?WT.mc_id=blog-spark3-adpolak">Azure Databricks</a></li><li><a href="https://community.cloud.databricks.com/login.html">Databricks Community Edition</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kV14s5laq5pDC11Ps1sKDA.png" /></figure><h3>MANY Exciting Features, let’s briefly look at 2 of them</h3><ul><li><strong>Pandas UDFs and Python Type Hints</strong><br> Probably going to be mostly used by the DataScience and Python developers communities. This feature allows us to create a more readable code and support code static analysis by IDEs such as <a href="https://www.jetbrains.com/help/pycharm/quick-start-guide.html">PyCharm</a>.<br> Read about it <a href="https://databricks.com/blog/2020/05/20/new-pandas-udfs-and-python-type-hints-in-the-upcoming-release-of-apache-spark-3-0.html">here</a>.</li><li><strong>SQL Join hints</strong><br> Before this change, we had broadcast hash join hints.<br> Meaning, if there is a join operation and one of the tables can fit in memory, Spark will broadcast it to execute a faster join. The class in charge of it was named ResolveBroadcastHints. It was replaced with ResolveJoinStrategyHints.<br> To learn more, check out the JIRA ticket: <a href="https://issues.apache.org/jira/browse/SPARK-27225">SPARK-27225</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1NgkznIRPb8wnjuw5x3oQ.png" /></figure><p>List of available hints:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M9UAO-MvrpBzB1TduNln_w.png" /></figure><p>To better understand how they work, I recommend checking out the Apache Spark open-source code, specifically, this file:<br>sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/hints.scala</p><p>If you are interested in learning more about the Spark SQL optimization engine — the <strong>Catalyst</strong>, read my deep dive on it, <a href="https://medium.com/microsoftazure/apache-spark-deep-dive-4e01022afc32">here</a>.</p><h3>Top 4 recommended sessions</h3><h4>-1- End-to-End Deep Learning with Horovod on Apache Spark</h4><p>For the last months, I have been working on various Autonomous Cars scenarios that involve a high load of data. One of the challenges I faced is enabling the DataScience to run Deep Learning at scale. After digging in, I discovered Horovod’s framework and the HorovodEstimator. I am excited to attend this session and learn more about it!<br> Are you curious about it? read about it more <a href="https://docs.microsoft.com/en-us/azure/databricks/applications/deep-learning/distributed-training/horovod-estimator?WT.mc_id=blog-spark3-adpolak">here</a>.</p><p><a href="https://databricks.com/session_na20/end-to-end-deep-learning-with-horovod-on-apache-spark">Session link</a>.</p><h4>-2- Building Reliable ML Pipelines with MLflow</h4><p>If you follow me for a while now, you know I’m deep into how to build machine learning pipelines at scale. <br> Here is a <a href="https://github.com/adipola/ms-build-e2e-ml-bigdata">GitHub repo</a> describing an End-to-End platform I built for Microsoft Build 2020 session. The platform includes MLFlow, Azure Databricks, Azure Machine Learning, and social media text classification with Scikit learn. The repository includes data flow, architecture, tutorials, and code.</p><p><a href="https://databricks.com/session_na20/building-reliable-ml-pipelines-with-mlflow">Session link</a>.</p><h4>-3- An Approach to Data Quality for Netflix Personalization Systems</h4><p>If you watched my sessions on Big Data and ML, I always mention that:</p><blockquote><strong><em>You are only as Good as your Data</em></strong></blockquote><p>I am referring here to the Machine Learning models of course. We see many biased machine learning models due to unbalanced data and misuse/lack of tools for assessing Data Quality. Many times during the Data Quality process, we need to filter out the data; this is where having a large set of Data can help. However, it brings challenges, as well.</p><p>This is why I am excited to hear from Netflix how they tackle these challenges.</p><p>BTW, if you would like to get familiar with Data Bias challenges, I recommend this <a href="https://www.microsoft.com/en-us/research/blog/what-are-the-biases-in-my-data?WT.mc_id=blog-spark3-adpolak">short read</a> from Microsoft Research Blog.</p><p><a href="https://databricks.com/session_na20/an-approach-to-data-quality-for-netflix-personalization-systems">Session link</a>.</p><h4>-4- The Apache Spark File Format Ecosystem</h4><p>The <strong>Veraset</strong> Software developers team is closely involved with open source Spark initiatives such as <br> Datasource V2 and the External Shuffle Service, and it’s interesting to hear from them how using the right file format can improve performance. As well as permit <a href="https://medium.com/microsoftazure/data-at-scale-learn-how-predicate-pushdown-will-save-you-money-7063b80878d7">Predicate Pushdown</a>.</p><p><a href="https://databricks.com/session_na20/the-apache-spark-file-format-ecosystem">Session link</a>.</p><h3>That’s it for now!</h3><p>Thank you for reading so far.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*NGMzJRm0t1r5hB5H.gif" /></figure><p>These are <strong>my personal opinions</strong> about the summit. <br> If you enjoy reading, please follow me here, on <a href="https://dev.to/adipolak">dev.to</a> , <a href="https://twitter.com/AdiPolak">Twitter</a> and <a href="https://www.linkedin.com/in/adi-polak-68548365/">LinkedIn</a>.</p><p>Always happy to take your thoughts and opinions.</p><h3>💡 Which session can’t you wait to attend? What excites you about Apache Spark?</h3><p><em>Originally published at </em><a href="https://dev.to/adipolak/spark-ai-summit-and-a-glimpse-of-spark-3-0-342"><em>https://dev.to</em></a><em> on June 2, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fe0775386de" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/spark-ai-summit-and-a-glimpse-of-spark-3-0-5fe0775386de">Spark &amp; AI summit and a glimpse of Spark 3.0</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ITNEXT Summit 2019, Data Engineering track recap]]></title>
            <link>https://itnext.io/itnext-summit-2019-data-engineering-track-recap-f08ce5a775aa?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/f08ce5a775aa</guid>
            <category><![CDATA[community-engagement]]></category>
            <category><![CDATA[stream-processing]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[conference]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Thu, 31 Oct 2019 11:56:23 GMT</pubDate>
            <atom:updated>2019-11-07T16:52:43.313Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*_kbIh2HjtqlXQqPWrX2iDw.png" /></figure><p>The 2019 edition of <a href="https://www.itnextsummit.com/">ITNEXT Summit</a> took place on Oct 30, 2019, at Amsterdam, NL.</p><p>The event had around 450+ passionate attendees that came to learn from great experts and get inspired.</p><p>There were 3 tracks:</p><ul><li>JavaScript</li><li>DevOps</li><li>Data Engineering</li></ul><p>Each track was led and curated by an MC:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KUJM8oTGsfQk8-2U" /><figcaption>Content curators and organizers: from right to left: <a href="https://twitter.com/tara_ojo">Tara Ojo</a>(JaveScript), <a href="https://twitter.com/holdenkarau">Holden Karau and Boo(Data Engineer),</a> and <a href="https://twitter.com/thiagoavadore">Thiago de Faria</a>(DevOps)</figcaption></figure><p>From looking at the agenda, one can say that the Devops was packed with Serverless sessions and the Data Engineer track had an emphasis on Machine Learning. This reflects what is going on in the European industry but not only Europe! Machine learning at scale is starting to take off globally and it seems like many companies and open source software trying to create a solution for the challenges. <strong>Pretty Exciting Times!</strong></p><p>Data Engineering track had 5 sessions:</p><h4>1. Bias in AI — choose your data wisely by Katrin Strasser:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1En1zn-Cd0Jzw4M1" /></figure><p>Katrin Strasser kicked off the track and started with highlighting the unconscious bias that we all suffer from. That is a direct reflection of stereotypes, culture, education, surrounding and many more. She continued with examples of how AI is being used in institutions like banks, insurance, court, public service, military and more, here are some use cases scenarios:</p><ul><li>Applying for loan — the probability of a person to pay back the loan</li><li>Court decisions — guilty/not guilty</li><li>Hospitals — What of the chances of a person to be healed</li><li>Public Employment Service — is it worth investing in the person to get a job or not?</li><li>Classifying people</li></ul><p>Why data is so important? this is because AI knows nothing!</p><p>AI is strictly bounded to the data we feed into it.</p><p>Where is the bias? Data can be bias! Most of the data for classifying humans are produced by …. HUMANS! This creates a vicious cycle where bias is being emphasized by AI.</p><p>Word embedding from the Natural Language Processing (NLP) domain illustrates how stereotype bias comes from the corpus:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p6JujzNxcQdgNXcb" /></figure><p>Katrin shows how the human classification algorithm is mostly based on features that we don’t have control over.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m6fqIlSnqMfIFNzL" /><figcaption>Scoring criteria from the Public Employment Services — it rates the chances on the job market</figcaption></figure><p>Katrin continued with face recognition and the error rate of 0.34% with 300K people per day, huge numbers.</p><p>What can we do to fix it? KNOW YOUR DATA!</p><p>Know your use cases and be aware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yeRa7fqnWL8BDNt5" /><figcaption>Check the models! understand the common pitfalls</figcaption></figure><h4>2. How to use Reinforcement Learning to solve the abbey of the crime by Juantomas Garcia</h4><p>In his session, Juantomas Garcia walked us through the process of using Reinforcement Learning to win games, his example was focused on Abbey Of The Crime — a Spanish game. Combining beer and tech projects can result in bad engineering:</p><h3>Adi Polak ➡️🛫➡️ 🏡 on Twitter</h3><p>What happen when you over engineer your solution ?💥 Instead, try embedding a web server inside the game so you can track it</p><p>Step and notes from the project:</p><ol><li>Ported the game from Z80 assembly to C++.</li><li>Measured the problem space and how many steps it needs to take to win.</li><li>Create an embedded webserver to capture steps and game matrix — gathering the information was the part that took <strong>95%</strong> of the work time, this is the <strong>hardest</strong> part of the project!</li><li>Your computer doesn’t have enough processing power, containerize everything and deploy it to the public cloud. The Public Cloud offers many AI out of the box features and scale solutions. <a href="https://azure.microsoft.com/en-us/free?WT.mc_id=itnext-blog-adpolak">Here is a 200$ credit to start with Azure</a>.</li><li>The game and the project produced 1 TB of Data.</li><li>You will probably write only 10 lines of AI, the rest are APIs and Data work:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NvMfvEJfULu5y63j" /></figure><p>7. The project is a work in progress! Not done yet. You can join the fun on G<a href="https://github.com/LaAbadIAdelCrimen">ithub</a>.</p><h4>3. Make your data FABulous by Philipp Krenn:</h4><p>At this stage of the day, I was in desperate need of coffee.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2F3nbxypT20Ulmo%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia.giphy.com%2Fmedia%2F3nbxypT20Ulmo%2Fgiphy.gif&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.giphy.com%2Fmedia%2F3nbxypT20Ulmo%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="321" frameborder="0" scrolling="no"><a href="https://medium.com/media/dfa7e0ea3fb789bab1c645329cfd1518/href">https://medium.com/media/dfa7e0ea3fb789bab1c645329cfd1518/href</a></iframe><p>Here is the session tweet thread by Holden Karau:</p><h3>holden karau on Twitter</h3><p>And why elastic search sometimes counts &quot;wrong.</p><h4>4. Organizing Data Engineering around Kubeflow by Mátyás Manninger:</h4><h3>Adi Polak ➡️🛫➡️ 🏡 on Twitter</h3><p>How do you organize your data team ? Starting with the main question, what are data challenges ? @ITNEXTSummit @ITNEXT_io</p><p>The session started off with an interactive question for the audience — what are your data challenges? the audience filled in a form and we saw it live on the screen — pretty awesome!</p><p>We continue with the moving parts of building machine learning pipeline and how we can distribute the efforts across teams, as well as how can we use K<a href="https://www.kubeflow.org/">ubeflow</a> to visualize all the deployments and working pieces:</p><h3>Adi Polak ➡️🛫➡️ 🏡 on Twitter</h3><p>How do you split the team across the pipeline ? One pipeline can be maintained and developed by multiple teams</p><h3>Adi Polak ➡️🛫➡️ 🏡 on Twitter</h3><p>Visualize the pipelines directly from the @kubeflow UI:</p><p>How we can integrate with the cloud:</p><h3>Adi Polak ➡️🛫➡️ 🏡 on Twitter</h3><p>Here you decide if you want to run it locally or on the cloud : This sample runs it locally. The privilege of using the cloud is the ability to leverage cloud AI components.</p><p>It was a great session that walked us through Kubeflow, ML pipelines and how to make everyone work together.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2FCxy620WOwyDC0%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia.giphy.com%2Fmedia%2FCxy620WOwyDC0%2Fgiphy.gif&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.giphy.com%2Fmedia%2FCxy620WOwyDC0%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/066b437cebeadf177334579cb0f1bdcf/href">https://medium.com/media/066b437cebeadf177334579cb0f1bdcf/href</a></iframe><p>The closing session for the Data Engineer track was:</p><h3>5. Stream Processing beyond Streaming Data by Stephan Ewen</h3><p>Stephan is one of the co-creators of F<a href="https://flink.apache.org/">link</a> and he walked us through what are stream processing and what the future brings:</p><h3>Adi Polak ➡️🛫➡️ 🏡 on Twitter</h3><p>Last session for today at #ITNEXT #dataengineer track . Exciting ! @ApacheFlink Let&#39;s talk streams 💫</p><p>The talk walked us through 3 ways of stream processing concepts:</p><ul><li><strong>Stream processing with SQL</strong> — filtering, enriching, aggregations, join and more.</li><li><strong>Stateful event-driven processing / statefull functions </strong>—coordination and maintaining state.</li><li><a href="https://azure.microsoft.com/en-us/services/functions?WT.mc_id=itnext-blog-adpolak"><strong>FaaS</strong></a> — functions as a service, comes from the serverless world, stateless most of the time, compute-centric.</li></ul><p>Stephan finished off with an example of how to leverage all of these techniques into one system, in the demo example he showed a high-level architecture of Ridesharing backend:</p><h3>Adi Polak ➡️🛫➡️ 🏡 on Twitter</h3><p>We will need stream processing, event driven processing and FaaS. This is an example on how you can put it all together</p><p>An overall great session where we got a glimpse of where Flink is going and what the industry needs are.</p><h4>This is a wrap!</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2F3mfprP1DPTrlC%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia.giphy.com%2Fmedia%2F3mfprP1DPTrlC%2Fgiphy.gif&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.giphy.com%2Fmedia%2F3mfprP1DPTrlC%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/c84c810a43c6d00814bb3dab93b2b949/href">https://medium.com/media/c84c810a43c6d00814bb3dab93b2b949/href</a></iframe><p>This was only a glimpse of ITNEXT Summit 2019. Overall the conference had wonderful sessions, up to date content and full of openness and <strong>welcoming</strong> community atmosphere.</p><h3>Sebastian Lopez on Twitter</h3><p>Diversity in the #ITNEXTSUMMIT ❤️ @holdenkarau</p><p>Thank you for everyone that made ITNEXT Summit 2019 possible!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f08ce5a775aa" width="1" height="1" alt=""><hr><p><a href="https://itnext.io/itnext-summit-2019-data-engineering-track-recap-f08ce5a775aa">ITNEXT Summit 2019, Data Engineering track recap</a> was originally published in <a href="https://itnext.io">ITNEXT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is TensorFrames? TensorFlow + Apache Spark]]></title>
            <link>https://medium.com/data-science/what-is-tensorframes-tensorflow-apache-spark-a385ec4bc1d5?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/a385ec4bc1d5</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Mon, 25 Mar 2019 14:55:49 GMT</pubDate>
            <atom:updated>2019-06-11T13:02:41.699Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OWBS9uQiG8TzkrFl20elKw.jpeg" /></figure><p><strong>First thing first, what is TensorFrames?</strong></p><p>TensorFrames is an open source created by Apache Spark contributors. Its functions and parameters are named the same as in the TensorFlow framework. Under the hood, it is an Apache Spark DSL (domain-specific language) wrapper for Apache Spark DataFrames. It allows us to manipulate the DataFrames with TensorFlow functionality. And no, it is <strong>not</strong> <a href="https://www.tutorialspoint.com/python_pandas/python_pandas_dataframe.htm">pandas DataFrame</a>, it is based on Apache Spark DataFrame.</p><p><strong>..but wait, what is TensorFlow (TF)?</strong></p><p>TensorFlow is an open-source software library for dataflow and differentiable programming across a range of tasks. It is a symbolic math library and is also used for machine learning applications such as neural networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/246/0*HUlDKdJEBnF3gbEr.jpeg" /></figure><p><strong>..and Apache Spark?</strong></p><p>Apache Spark is an open-source distributed general-purpose cluster-computing framework.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/0*tjXkt8QaQpbwZPVc.png" /></figure><h4>A word about scale</h4><p>Today when we mention scale, we usually talk about two options; scale horizontally, and scaling vertically.</p><ul><li><strong>Horizontal scale</strong> — add additional machines with more or less the same computing power</li><li><strong>Vertical scale</strong> — adding more resources to machine/s we are currently working with. It can be a processor upgraded from a CPU to GPU, more memory (RAM), and etc.</li></ul><p>With TensorFrames, we can do both, more processor computing power, and more machines. Where with only TensorFlow we would usually focus on adding more power through scaling vertically, now with Apache Spark support, we can scale both vertically and horizontally. But, how do we know how much of each we actually need? To answer this question, we need to understand the full usage of our applications and plan accordingly.</p><p>For each change, like adding a machine or upgrading from CPU to GPU, we have <em>downtime.</em> In the cloud, resizing a cluster or adding more compute power, is a matter of minutes, versus on-prem where we need to deal with adding new machines and upgrading machines processors, this can take days, and sometimes months.</p><p>So, A more flexible solution is the public cloud.</p><p>In the picture below, scale horizontally is the X-axis where scale vertically is the Y-axis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*ftyhVsmFr9q_oLnb.png" /></figure><p>**Slide from Tim Hunter presentation at Apache Spark conf</p><h3>Before jumping to the functions, let’s understand some important TensorFlow vocabulary:</h3><h4>Tensor</h4><p>A statically typed multi-dimensional array whose elements are of a generic type.</p><h4>GraphDef</h4><p>Graph or Computional Graph is the core concept of TensorFlow to present computation. When we use TensorFlow, we first create our own Computation Graph and pass the Graph to TensorFlow. GraphDf is the serialized version of Graph.</p><h4>Operation</h4><p>A Graph node that performs computation on Tensors. An Operation is a node in a Graph that takes zero or more Tensors (produced by other Operations in the Graph) as input and produces zero or more Tensor s as output.</p><h4>Identity</h4><p>tf.identity is used when we want to explicitly transport tensor between devices (like, from GPU to a CPU). The operation adds nodes to the graph, which makes a copy when the devices of the input and the output are different.</p><h4>Constant</h4><p>A constant has the following arguments which can be tweaked as required to get the desired function. It the same as a variable, but its value can’t be changed. Constant can be:</p><ul><li>value: A constant value (or list) of output type dtype.</li><li>dtype: The type of the elements of the resulting tensor.</li><li>shape: Optional dimensions of resulting tensor.</li><li>name: Optional name for the tensor.</li><li>verify_shape: Boolean that enables verification of a shape of values.</li></ul><h4>Placeholders</h4><p>Allocate storage for data (such as for image pixel data during a feed). Initial values are not required (but can be set, see tf.placeholder_with_default). Versus variables, where you need to declare the initial value. \</p><h3>Some Apache Spark Vocabulary</h3><h4>Dataframe</h4><p>This is a <em>distributed</em> collection of data organized into named columns that provide operations to filter, group, or compute aggregates. Dataframe data is often distributed across multiple machines. It can be in memory data or on disk.</p><h4>RelationalGroupedDataset</h4><p>A set of methods for aggregations on a DataFrame, created by <a href="http://maxpumperla.com/java-book/api/scala/org/apache/spark/sql/Dataset.html#groupBy(col1:String,cols:String*):org.apache.spark.sql.RelationalGroupedDataset">groupBy</a>, <a href="http://maxpumperla.com/java-book/api/scala/org/apache/spark/sql/Dataset.html#cube(col1:String,cols:String*):org.apache.spark.sql.RelationalGroupedDataset">cube</a> or <a href="http://maxpumperla.com/java-book/api/scala/org/apache/spark/sql/Dataset.html#rollup(col1:String,cols:String*):org.apache.spark.sql.RelationalGroupedDataset">rollup</a>.</p><p>The main method is the agg function, which has multiple variants. This class also contains some first-order statistics such as mean, sum for convenience.</p><p>Now that we understand the terminology better, let’s look at the functionality.</p><h3>The Functionality — TensorFlow version 0.6.0</h3><p>Apache Spark is known for being an analytics platform for data at scale, together with TensorFlow, we get TensorFrames which have three categories of data manipulations:</p><p>Let’s understand each functionality.</p><pre>-1- Mapping</pre><p>Mapping operations transform and/or adds columns to a given dataframe.</p><p>Each functionality is accessed through two API, one which receives Operation and the other which receives DataFrame, GraphDef, and ShapeDescription.</p><p>Exposed API:</p><h4>MapRows</h4><p>def mapRows(o0: Operation, os: Operation*): DataFrame</p><p>For the user, this is the function that will be more often in use, since there is no direct request to create the GraphDef and ShapeDescription object. This way is more readable for experienced TensorFlow developers:</p><p>mapRows receives two parameters, operation, and operation* which means the second operation can be a collection of operations. Later it turns them into a sequence and translates it into a graph, it creates the ShapeDiscription out of the graph and sends it with the DataFrame to an internal function. Where it transforms the distributed data row by row according to the transformations given in the graph. All input in the graph should be filled with some data from the given DataFrame or constants. Meaning, we can’t use null. At the end the function returns a new DataFrame with the new schema, the schema will contain the original schema <strong>plus</strong> new columns that correspond to the graph output. ShapeDiscription provides the shape of the output, it is used, behind the scenes, for optimization and going around limitations of the kernel.</p><h4>MapBlock</h4><p>Performs a similar task as MapRows, however, since it is optimized for compact, it applies the graph transformers in blocks of data and not row by row.</p><p>def mapBlocks(o0: Operation, os: Operation*): DataFrame</p><p>The often more used function is:</p><p>Code example: We create <em>val df</em>, which is of type DataFrame, with two rows, one contains value 1.0 and the second data row contain value 2.0. The column name is x.</p><p><em>val x</em> is a declaration of the placeholder for the output, <em>y</em> is the identity for transporting tensors from CPU to GPU or from machine to machine, it received <em>val x</em> as it’s value.</p><p><em>z</em> is the computation function itself. Here, df.MapBlock functions gets two operations, <em>y</em> and <em>z</em>, and retunes a new DataFrame named <em>df2</em> with extra column <em>z</em>. Column <em>z</em> is the sum of <em>x+x.</em> In the output, <em>column x</em> is the original value, <em>column y</em> is the identity value and <em>column z</em> is the output of the graph.</p><h4>MapBlocksTrimmed</h4><p>This is the same as MapBlock , BUT, it drops the original DataFrame columns from the result DataFrame. Meaning the output DataFrame will contain only the calculated columns.</p><p>def mapBlocksTrimmed(o0: Operation, os: Operation*): DataFrame</p><p>Let’s look at:</p><p>Code example: we create a DataFrame named <em>df</em> with two rows with values 3.0 and 4.0 . <strong>Notice</strong> that we create a constant named <em>out</em> with value 1.0 and 2.0, this constant is the TensorFrame dsl functionality that mimics the TensorFlow functionality. Then we call df.MapBlocksTrimmed. The output schema will only contain the result column, which is named &quot;out&quot; and in our case will only hold the constant values which are 1.0 and 2.0 .</p><p><strong>Important Note</strong> in the first line of code we import TesnorFrames dsl and we name it to tf, which stands for TensorFlow, we do it since this is how TesnorFlow users used to work with it and we are adhering to the best practices of TensorFlow.</p><pre>-2- Reducing</pre><p>Reduction operations coalesce a pair or a collection of rows and transform them into a single row, it repeats the same operation until there is one row left. Under the hood, TensorFrames minimizes the data transfer between computers by reducing all the rows on each computer first and then sending the remainder over the network to perform the last reductions.</p><p>f(f(a, b), c) == f(a, f(b, c))</p><p>The transforms function must be classified as <a href="https://en.wikipedia.org/wiki/Morphism">morphism</a>: the order in which they are done should not matter. In mathematical terms, given some function f and some function inputs a, b, c, the following must hold:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/0*HVRLXNzSYxrrGBQc.png" /></figure><p>Map reduce schema by <a href="https://www.researchgate.net/profile/Christopher_Scherb">Christopher Scherb</a></p><p>The reduce functionality API, same as the rest, we have 2 API for each functionality, the one which receives Operation is more intuitive, however, in TensorFlow there is no direct reduce rows operation, instead, there are many reduce operations like tf.math.reduce_sum and tf.reduce_sum .</p><h4>ReduceRows</h4><p>This functionality uses TensorFlow operations to merge two rows together until there is one row left. It receives the datafram, graph, and a ShapeDescription.</p><p>def reduceRows(o0: Operation, os: Operation*): Row</p><p>User interface:</p><p>In the next code example. We create a DataFrame with a column named <em>in</em> and two rows. x1 and x2 placeholder for dtype and x- which is an add operation of x1 and x2. reduceRows, return a Row with value 3 which is the sum of 1.0 and 2.0.</p><h4>ReduceBlocks</h4><p>Works the same as ReduceRows , BUT, it does it on a vector of rows and not row by row.</p><p>def reduceBlocks(o0: Operation, os: Operation*): Row</p><p>More used function:</p><p>Code example: Here we create a DataFrame with two columns — <em>key2</em> and <em>x</em>. One placeholder names <em>x1</em>, one reduce_sum TensorFlow operation named <em>x</em>. The reduce functionality return the sum of the rows in the DataFrame according to the desired columns that the reduce_sum named after which is <em>x</em>.</p><pre>-3- Aggregation</pre><p>def aggregate(data: RelationalGroupedDataset, graph: GraphDef, shapeHints: ShapeDescription): DataFrame</p><p>Aggregation is an extra operation for Apache Spark and TensorFlow. It is different from the aggregation functionality in TensorFlow and works with RelationalGroupedDataset. API functionality:</p><p>Aggregate receives a RelationalGroupedDataset which is an Apache Spark object, it wraps DataFrame and adds aggregation functionality, a sequence of expressions and a group type.</p><p>The aggregate function receives the graph and ShareDescriptiom. It aggregates rows together using reducing transformation on grouped data. This is useful when data is already grouped by key. At the moment, only numerical data is supported.</p><p>Code example: In the example, we have a DataFrame with two columns, <em>key</em>, and <em>x</em>. <em>x1</em> as a placeholder and <em>x</em> as the reduce_sum functionality named <em>x</em>.</p><p>Using <em>groupby</em> functionality we group the rows by key, and after it, we call <em>aggregate</em> with the operations. We can see in the output that the aggregated was calculated according to the <em>key</em>, for the key with value 1- we received 2.1 as the value for <em>column x</em> and for the key with value 2 we received 2.0 as the value for <em>column x</em>.</p><h3>TensorFrames basic process</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/0*AMdUqo5WZz93E-dj.png" /></figure><p>In all TensorFrames functionality, the DataFrame is sent together with the computations graph. The DataFrame represents the distributed data, meaning in every machine there is a chunk of the data that will go through the graph operations/ transformations. This will happen in every machine with the relevant data. Tungsten binary format is the actual binary in-memory data that goes through the transformation, first to Apache Spark Java object and from there it is sent to TensorFlow Jave API for graph calculations. This all happens in the Spark Worker process, the Spark worker process can spin many tasks which mean various calculation at the same time over the in-memory data.</p><h3>Noteworthy</h3><ul><li>DataFrames with scala is <strong>currently</strong> an experimental version.</li><li>The Scala DSL only features a subset of TensorFlow transforms.</li><li>TensorFrames is open source and can be supported <a href="https://github.com/databricks/tensorframes">here</a>.</li><li>Python was the first client language supported by TensorFlow and currently supports the most features. More and more of that functionality is being moved into the core of TensorFlow (implemented in C++) and exposed via a <a href="https://www.tensorflow.org/code/tensorflow/c/c_api.h">C API</a>. Which later exposed through other languages API, such as Java and JavaScript.</li><li>Interested in working with Keras? check out <a href="https://github.com/maxpumperla/elephas">Elephas: Distributed Deep Learning with Keras &amp; Spark</a>.</li><li>interested in TensorFrames project on the public cloud? check <a href="https://docs.microsoft.com/en-us/learn/paths/azure-fundamentals/?WT.mc_id=devto-blog-adpolak">this</a> and <a href="https://towardsdatascience.com/get-started-with-apache-spark-and-tensorflow-on-azure-databricks-163eb3fdb8f3">this</a>.</li></ul><p><strong>Now that you know more about TensorFrames, how will you take it forward?</strong></p><p>Follow me on <a href="https://twitter.com/AdiPolak">Twitter</a>, happy to take your suggestions on topics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a385ec4bc1d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/what-is-tensorframes-tensorflow-apache-spark-a385ec4bc1d5">What is TensorFrames? TensorFlow + Apache Spark</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Get started with Apache Spark and TensorFlow on Azure Databricks]]></title>
            <link>https://medium.com/data-science/get-started-with-apache-spark-and-tensorflow-on-azure-databricks-163eb3fdb8f3?source=rss-46b9b20c06bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/163eb3fdb8f3</guid>
            <category><![CDATA[azure-databricks]]></category>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Adi Polak]]></dc:creator>
            <pubDate>Mon, 25 Feb 2019 18:13:48 GMT</pubDate>
            <atom:updated>2019-02-25T18:13:48.949Z</atom:updated>
            <content:encoded><![CDATA[<h4>TensorFlow is now available on Apache Spark framework, but how do you get started? It called TensorFrame</h4><h3>TL;DR</h3><p>This is a step by step tutorial on how to get new Spark TensorFrame library running on Azure Databricks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*ODRJsCDhVbhIBXrASNWY3w.png" /></figure><p>Big Data is a huge topic that consists of many domains and expertise. All the way from DevOps, Data Engineers to Data Scientist, AI, Machine Learning, algorithm developers and many more. We all struggle with massive amounts of data. When we deal with a massive amount of data, we need the best minds and tools. This is where the <strong><em>magical</em></strong> combination of <strong>Apache Spark</strong> and <strong>Tensor Flow</strong> takes place and we call it <strong>TensorFrame</strong>.</p><p>Apache Spark took over the Big Data world, giving answers and supporting Data Engineers to be a more successful while, Data Scientist had to figure their way around the limitation of the machine learning library that Spark provides, the Spark MLlib.</p><p>But no more, now, there is TensorFlow support for Apache Spark users. These tools combined makes the work of Data Scientists more productive, more accurate and faster. And taking outcome from Research to Develop to Production, faster than ever.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fgifs%2Frunning-fast-the-flash-lRnUWhmllPI9a&amp;src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2FlRnUWhmllPI9a%2Ftwitter%2Fiframe&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=giphy" width="435" height="315" frameborder="0" scrolling="no"><a href="https://medium.com/media/8ec1e4a081e727e00805c498d1dcfff3/href">https://medium.com/media/8ec1e4a081e727e00805c498d1dcfff3/href</a></iframe><p>Before we start, let&#39;s align the terms:</p><ul><li><strong>Tensor Flow</strong> is an open source machine learning framework for high-performance numerical computations created by Google. It comes with strong support for AI: machine learning and deep learning.</li><li><strong>Azure Databricks</strong> is an Apache Spark-based analytics platform optimized for the <strong>Microsoft Azure </strong>cloud services platform. Azure Databricks also acts as Software as a Service( SaaS) / Big Data as a Service (BDaaS).</li><li>TensorFrames is an Apache Spark component that enables us to create our own scalable TensorFlow learning algorithms on Spark Clusters.</li></ul><h3>-1- the workspace:</h3><p>First, we need to create the workspace, we are using Databricks workspace and here is a <a href="https://docs.microsoft.com/azure/azure-databricks/quickstart-create-databricks-workspace-portal?WT.mc_id=online-medium-adpolak">tutorial</a> for creating it.</p><h3>-2- the cluster:</h3><p>After we have the workspace, we need to create the cluster itself. Let’s create our spark cluster using<a href="https://docs.microsoft.com/azure/azure-databricks/quickstart-create-databricks-workspace-portal?WT.mc_id=online-medium-adpolak"> this</a> tutorial, make sure you have the next configurations in your cluster:</p><ul><li>A working version of Apache Spark (2.4 or greater)</li><li>Java 8+</li><li>(Optional) python 2.7+/3.6+ if you want to use the python interface.</li><li>(Optional) the python TensorFlow package if you want to use the python interface. See the <a href="https://www.tensorflow.org/install/">official instructions</a> on how to get the latest release of TensorFlow.</li><li>(Optional) pandas &gt;= 0.19.1 if you want to use the python interface</li></ul><p>The configuration:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*wr20JKB-RJpZxT-FzmAlQw.png" /></figure><p>with Databricks runtime versions or above :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*iPalUgtj4vgp3qWm-Sfmlg.png" /></figure><p>Press start to launch the cluster</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/100/1*-GNxbubA5d-6GR5-BmEK8A.png" /></figure><h3>-3- import the library:</h3><p>Under <strong>Azure Databricks</strong>, go to <strong>Common Tasks</strong> and click <strong>Import Library</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*lS7tnxQN0fAlTJnNhVElgQ.png" /></figure><p>TensorFrame can be found on <a href="https://mvnrepository.com/artifact/databricks/tensorframes/0.2.9-s_2.11">maven repository</a>, so choose the Maven tag. Under Coordinates, insert the library of your choice, for now, it will be:</p><pre>databricks:tensorframes:0.6.0-s_2.11</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*-OT9abkysm_ijRNivrOigA.png" /></figure><p>Click the <strong>Create</strong> button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*ACFlxkDte7lo7Cs220RXtA.png" /></figure><p>Click <strong>Install</strong>.</p><p>You will see this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*Z8tbAdxoaLnZ2996CgOtuQ.png" /></figure><p>BOOM. you have TensorFrame on your Databricks Cluster.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2FZtMkorgeyRu5q%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fgifs%2Fdancing-dance-woo-ZtMkorgeyRu5q&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia.giphy.com%2Fmedia%2FZtMkorgeyRu5q%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="593" frameborder="0" scrolling="no"><a href="https://medium.com/media/f22528ee1bbf42469746262850bdb516/href">https://medium.com/media/f22528ee1bbf42469746262850bdb516/href</a></iframe><h3>-4- the notebook:</h3><p>We use the notebook as our code notebook where we can write the code and run it directly on our Spark Cluster.</p><p>Now that we have a running cluster, let’s run a notebook:</p><p>Click the <strong>New Notebook</strong> and choose the programming language of your choice ( here we chose Scala)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*5LL_FIGaTvGJ1ZKk7_9lXg.png" /></figure><p>This is how it looks like with scala code on the notebook portal with TensorFrames:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ygxKvXVbAwbXA_9yvylgAQ.jpeg" /></figure><p>The code example is from D<a href="https://github.com/databricks/tensorframes/blob/master/README.md">atabricks git repository</a>.</p><p>You can check it here as well:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ee9d41b8df5893f8e0cfcfb3826bf6e7/href">https://medium.com/media/ee9d41b8df5893f8e0cfcfb3826bf6e7/href</a></iframe><h3>-The End-</h3><p>Now that you have everything up and running, create your own triggered/scheduled job that uses TensorFrame in Apache Spark cluster.</p><p>and …</p><p>Since you’ve got all the way to here, Click the Clap button👏 and <a href="https://medium.com/@adipolak">Follow me on Medium</a> and <a href="https://twitter.com/adipolak">Twitter</a> for more posts about Scala, Kotlin, Big data, clean code and software engineers challenges. Cheers!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2F3oz8xIsloV7zOmt81G%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fgifs%2Farg-thank-you-cat-3oz8xIsloV7zOmt81G&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia3.giphy.com%2Fmedia%2F3oz8xIsloV7zOmt81G%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="241" frameborder="0" scrolling="no"><a href="https://medium.com/media/287327a2ca747c535f291744863dd2dd/href">https://medium.com/media/287327a2ca747c535f291744863dd2dd/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=163eb3fdb8f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/get-started-with-apache-spark-and-tensorflow-on-azure-databricks-163eb3fdb8f3">Get started with Apache Spark and TensorFlow on Azure Databricks</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>