-
Notifications
You must be signed in to change notification settings - Fork 146
/
00_agenda-3-days-Spark-SQL.html
313 lines (274 loc) · 13.5 KB
/
00_agenda-3-days-Spark-SQL.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Spark SQL 2.2 Workshop Agenda (3 days)</title>
<meta name="description" content="Spark SQL 2.2 Workshop Agenda (3 days)">
<meta name="author" content="Jacek Laskowski">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/beige.css" id="theme">
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!-- https://github.com/hakimel/reveal.js/issues/174 -->
<style>
.slides .header {
position: absolute;
top: 0px;
right: 0px;
}
.slides .footer {
position: absolute;
bottom: 0px;
left: 35%;
}
</style>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<div class="slides">
<div class="footer">
<small>Copyright ©2017 Jacek Laskowski</small>
</div>
<section class="intro" data-transition="zoom">
<p>
<img width="5%" style="background:none; border:none; box-shadow:none;" data-src="images/scala-logo.png">
<img width="17%" style="background:none; border:none; box-shadow:none;" data-src="images/spark-logo.png">
<img width="8%" src="images/jacek_laskowski_20141201_512px.png" style="border: 0">
</p>
<h1>Spark SQL 2.2<br/>Workshop <small>3 Days</small></h1>
<h4><a href="https://twitter.com/jaceklaskowski">@jaceklaskowski</a> / <a href="http://stackoverflow.com/users/1305344/jacek-laskowski">StackOverflow</a> / <a href="https://github.com/jaceklaskowski">GitHub</a><br />
Books: <a href="http://bit.ly/mastering-apache-spark">Mastering Apache Spark</a> / <a href="http://bit.ly/spark-structured-streaming">Spark Structured Streaming</a></h4>
</section>
<section>
<section id="about-the-host">
<p>
<img width="15%" src="images/jacek_laskowski_20141201_512px.png" style="border: 0">
</p>
<ul>
<li><b>Jacek Laskowski</b> is an independent consultant
<ul>
<li>Specializing in Spark, Kafka, Mesos, DC/OS, Scala</li>
</ul>
</li>
<li>Among contributors to <a href="http://spark.apache.org/releases/spark-release-2-2-0.html#credits">Spark 2.2</a>, <a href="http://spark.apache.org/releases/spark-release-2-1-0.html#credits">2.1</a>, <a href="http://spark.apache.org/releases/spark-release-2-0-0.html#credits">2.0</a> (since <a href="http://spark.apache.org/releases/spark-release-1-6-0.html#credits">1.6.0</a>)</li>
<li>Contact me at <b>jacek@japila.pl</b> or follow me on twitter at <a href="https://twitter.com/jaceklaskowski">@JacekLaskowski</a> <-- and learn Spark twitter-way!</li>
<li>Delivering Development Services | Consulting | Training</li>
<li>Leader of <a href="http://warsawscala.pl">Warsaw Scala Enthusiasts</a> and <a href="http://www.meetup.com/Warsaw-Spark/">Warsaw Apache Spark</a></li>
<li><a href="https://community.oracle.com/community/java/java-champions">Java Champion</a></li>
</ul>
</section>
<section id="about-github">
<p>
<a href="https://github.com/jaceklaskowski">https://github.com/jaceklaskowski</a>
</p>
<p>
<img width="70%" src="images/jaceklaskowski-github-stats.png" style="border: 0">
</p>
</section>
<section id="about-notes">
<p>
<a href="https://bit.ly/mastering-apache-spark">https://bit.ly/mastering-apache-spark</a>
</p>
<p>
<img src="images/jaceklaskowski-gitbook-stats.png" style="border: 0">
</p>
</section>
<section id="github-spark-contributors">
<p>
<a href="https://github.com/apache/spark/graphs/contributors">Ranked #89 in Spark contributors</a>
</p>
<p>
<img width="100%" src="images/jaceklaskowski-github-spark-stats.png" style="border: 0">
</p>
</section>
<section id="about-stackoverflow">
<p>
<a href="http://stackoverflow.com/users/1305344/jacek-laskowski">http://stackoverflow.com/users/1305344/jacek-laskowski</a>
</p>
<p>
<img width="45%" src="images/jaceklaskowski-stackoverflow-stats.png" style="border: 0">
</p>
</section>
<section id="about-twitter">
<p>
<a href="https://twitter.com/jaceklaskowski">https://twitter.com/jaceklaskowski</a>
</p>
<p>
<img width="100%" src="images/jaceklaskowski-twitter-stats.png" style="border: 0">
</p>
</section>
</section>
<section id="goal">
<h2>Goal</h2>
<p>
Developing hands-on experience in<br />
<b>Spark SQL</b><br />
to exploit massive datasets at rest<br />
for advanced analytics and data-oriented decision making
</p>
</section>
<section id="agenda" data-markdown>
<script type="text/template">
## Agenda
1. [Day 1A](#/day1a) — Spark SQL and Tools (spark-shell, Databricks)
1. [Day 1B](#/day1b) — Columns, Operators, Standard Functions and UDFs
1. [Day 2](#/day2) — Columns, Operators, Standard Functions and UDFs
1. [Day 3A](#/day3a) — Basic Aggregation and Joins
1. [Day 3B](#/day3b) — Advanced Aggregation
</script>
</section>
<section>
<section id="day1a" data-markdown>
<script type="text/template">
## Day 1A — Spark SQL and Tools (spark-shell, Databricks)
1. [Spark SQL](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql.html)
1. [Into Apache Spark 2 Using spark-shell (and Databricks)](https://jaceklaskowski.github.io/spark-workshop/slides/01_Spark-Intro-Using-Spark-Shell.html)
</script>
</section>
<section id="day1b" data-markdown>
<script type="text/template">
## Day 1B — Columns, Operators, Standard Functions and UDFs
1. [Columns and Dataset Operators](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-columns-and-dataset-operators.html)
</script>
</section>
</section>
<section id="day2" data-markdown>
<script type="text/template">
## Day 2 — Columns, Operators, Standard Functions and UDFs
1. [Standard and User-Defined Functions](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-standard-functions-udfs.html)
</script>
</section>
<section>
<section id="day3a" data-markdown>
<script type="text/template">
## Day 3A — Basic Aggregation and Joins
1. [Basic Aggregation](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-basic-aggregation.html)
1. [Joins](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-joins.html)
1. [web UI](https://jaceklaskowski.github.io/spark-workshop/slides/spark-core-webui.html)
</script>
</section>
<section id="day3b" data-markdown>
<script type="text/template">
## Day 3B — Advanced Aggregation
1. [Windowed Aggregation](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-windowed-aggregation.html)
1. [Multi-Dimensional Aggregation](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-multi-dimensional-aggregation.html)
</script>
</section>
</section>
<section>
<section id="coursera" data-markdown>
<script type="text/template">
<p>
<a href="https://www.coursera.org/learn/scala-spark-big-data">https://www.coursera.org/learn/scala-spark-big-data</a>
</p>
<p>
<img width="80%" src="images/coursera-bigdata-analysis-scala-spark.png"
alt="Big Data Analysis with Scala and Spark" style="border: 0"/>
</p>
</script>
</section>
<section>
<p>
Mastering Apache Spark notebook featured in the Big Data course at Coursera!
</p>
<p>
<img width="90%" src="images/coursera-spark-mastering-apache-spark.png"
alt="Mastering Apache Spark featured in Big Data course at Coursera" style="border: 0"/>
</p>
</section>
</section>
<section>
<section id="prerequisities">
<h2>Prerequisities</h2>
<ol>
<li>Some programming experience using modern programming language, e.g. Scala, Python, Java, F#</li>
<li>Installed: <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java Platform, Standard Edition (Java SE) 8</a></li>
<li>Downloaded: <a href="https://spark.apache.org/downloads.html">Apache Spark 2.2.0</a>
<ul>
<li>Pre-built for Apache Hadoop 2.7 and later</li>
<li>spark-2.2.0-bin-hadoop2.7.tgz</li>
</ul>
</ol>
</section>
</section>
<section>
<section id="case-class" data-markdown>
<script type="text/template">
## « case class » (1 of 2)
1. Introduce Yourself
* First name
* How much you know about Spark SQL and Scala?
* What do you expect from the workshop?
* Where you wanna be with Spark after 5 days?
</script>
</section>
<section data-markdown>
<script type="text/template">
## « case class » (2 of 2)
1. Write down your name on paper and put it in front of you
1. When is the lunch? 12 noon or 1 PM?
</script>
</section>
</section>
<section id="questions" style="text-align: left" data-markdown>
<script type="text/template">
# Questions?
* Read [Mastering Apache Spark 2](https://bit.ly/mastering-apache-spark)
* [https://bit.ly/mastering-apache-spark](https://bit.ly/mastering-apache-spark)
* Follow [@jaceklaskowski](https://twitter.com/jaceklaskowski) on twitter
* Upvote [my questions and answers on StackOverflow](http://stackoverflow.com/users/1305344/jacek-laskowski)
* Use [Jacek's code at GitHub](https://github.com/jaceklaskowski)
* Read [blog posts on Medium](https://medium.com/@jaceklaskowski)
* Upvote [my answers on Quora](https://www.quora.com/profile/Jacek-Laskowski)
* Connect on [LinkedIn](https://www.linkedin.com/in/jaceklaskowski/)
* Visit [Jacek Laskowski's blog](https://blog.jaceklaskowski.pl)
</script>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45999426-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>