<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>scala Archives - Albert Nogués</title>
	<atom:link href="https://www.albertnogues.com/tag/scala/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.albertnogues.com/tag/scala/</link>
	<description>Data and Cloud Freelancer</description>
	<lastBuildDate>Thu, 25 Mar 2021 18:00:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.albertnogues.com/wp-content/uploads/2020/12/cropped-cropped-AlbertLogo2-32x32.png</url>
	<title>scala Archives - Albert Nogués</title>
	<link>https://www.albertnogues.com/tag/scala/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Databricks and Spark Crash Course. Delta and More!</title>
		<link>https://www.albertnogues.com/databricks-and-spark-crash-course-delta-and-more/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=databricks-and-spark-crash-course-delta-and-more</link>
		
		<dc:creator><![CDATA[Albert]]></dc:creator>
		<pubDate>Thu, 25 Mar 2021 17:58:00 +0000</pubDate>
				<category><![CDATA[BigData]]></category>
		<category><![CDATA[Databricks]]></category>
		<category><![CDATA[databricks]]></category>
		<category><![CDATA[delta]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[scala]]></category>
		<category><![CDATA[spark]]></category>
		<category><![CDATA[sql]]></category>
		<guid isPermaLink="false">http://192.168.1.40/?p=1025</guid>

					<description><![CDATA[<p>I&#8217;ve been working on a Databricks and Delta tutorial for all of you. I published it as notebook and you can grab it here. We will load some sample data from the NYC taxi dataset available in databricks, load them and store them as table. We will use then python to do some manipulation (Extract &#8230; </p>
<p>The post <a href="https://www.albertnogues.com/databricks-and-spark-crash-course-delta-and-more/">Databricks and Spark Crash Course. Delta and More!</a> appeared first on <a href="https://www.albertnogues.com">Albert Nogués</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I&#8217;ve been working on a Databricks and Delta tutorial for all of you. I published it as notebook and you can grab it <a rel="noreferrer noopener" href="https://databricks-prod-cloudfront.cloud.databricks.com/public/4027ec902e239c93eaaa8714f173bcfc/897686883903747/2503669437642038/312541189568512/latest.html" data-type="URL" data-id="https://databricks-prod-cloudfront.cloud.databricks.com/public/4027ec902e239c93eaaa8714f173bcfc/897686883903747/2503669437642038/312541189568512/latest.html" target="_blank">here</a>.</p>



<p>We will load some sample data from the NYC taxi dataset available in databricks, load them and store them as table. We will use then python to do some manipulation (Extract month and year from the trip time), which will create two new additional columns to our dataframe and will check how the file is saved in the hive warehouse. We will observe we have some junk data as it created folders for months and years (partitioning), that we are not supposed to have, so we will use filter to apply some filter in python way and in sql way to filter these bad records</p>



<p>Then, we will load another month of data as a temporary view and will compare this in contrast with a delta table where we can run updates and all sort of DML.</p>



<p>As a last step, we will load some master data and will perform a join. For more on Delta Lake you can follow this tutorial &#8211;&gt; <a href="https://delta.io/tutorials/delta-lake-workshop-primer/">https://delta.io/tutorials/delta-lake-workshop-primer/</a></p>



<p>Enjoy coding!</p>
<p>The post <a href="https://www.albertnogues.com/databricks-and-spark-crash-course-delta-and-more/">Databricks and Spark Crash Course. Delta and More!</a> appeared first on <a href="https://www.albertnogues.com">Albert Nogués</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
