Explore features of Spark SQL in practice on Spark 2.0

Explore features of Spark SQL in practice on Spark 2.0

The goal of this spark project for students is to explore the features of Spark SQL in practice on the latest version of Spark i.e. Spark 2.0.
explanation image


Each project comes with 2-5 hours of micro-videos explaining the solution.

ipython image

Code & Dataset

Get access to 50+ solved projects with iPython notebooks and datasets.

project experience

Project Experience

Add project experience to your Linkedin/Github profiles.

Customer Love

Read All Reviews
profile image

Camille St. Omer linkedin profile url

Artificial Intelligence Researcher, Quora 'Most Viewed Writer in 'Data Mining'

I came to the platform with no experience and now I am knowledgeable in Machine Learning with Python. No easy thing I must say, the sessions are challenging and go to the depths. I looked at graduate... Read More

profile image

Mike Vogt linkedin profile url

Information Architect at Bank of America

I have had a very positive experience. The platform is very rich in resources, and the expert was thoroughly knowledgeable on the subject matter - real world hands-on experience. I wish I had this... Read More

What will you learn

Understanding the roadmap of the project
Downloading and installing Spark on Cloudera VM ware
What is difference between Spark and Spark shell
Why you should think Spark SQL before Spark Core
How Directed Acycylic graphs work undercover in RDD
Installing Java development KIt 8
Configuring Spark 2.0 for using Clusters services
When to use Spark Core
Copying the dataset to Hadoop database
Spark SQL and multiple file types: Text File, JSON File, RDBMS Sources, NoSQL Sources
How to read a JSON and a CSV format file
Reading from a Hive table, JDBC and a parquet file
Understanding the usage of Typed and Untyped columns
Spark SQL for SQL-on-Hadoop server
Using Spark SQL as JDBC server and using Spark for Structured data processing

Project Description

Spark 2 offers a huge but yet backward-compatible break from the Spark 1.x, not only in terms of high-level API but also in performance. And spark the module with the most significant new features is Spark SQL.

In this apache spark project, we will explore a number of this features in practice.

We will discuss using various dataset, the new unified spark API as well as the optimization features that makes Spark SQL the first way to explore in processing structured data.

However, there are times when it is inevitable to resort to Spark Core - RDD in Spark 2. We will explore that as well alongside the newest and cool structured streaming API that enables fault-tolerant stream processing engine built on the Spark SQL engine.

Similar Projects

In this project, we will look at two database platforms - MongoDB and Cassandra and look at the philosophical difference in how these databases work and perform analytical queries.

Hive Project- Understand the various types of SCDs and implement these slowly changing dimesnsion in Hadoop Hive and Spark.

PySpark Project-Get a handle on using Python with Spark through this hands-on data processing spark python tutorial.

Curriculum For This Mini Project

Project Overview
Manual Installation of Spark 2 on Cloudera Quickstart VM
Introduction to Spark
Difference between Spark 2 and Spark Shell
Spark RDD's and DAG
Install JDK 8
What is Spark SQL?
Installing Spark 2.0
Configurations to add Spark 2.0 to the services in the Cluster
Download Datasets and Copy ot HDFS
Spark Session
Read a JSON File
Dataframe and Dataset[T] in Spark 2
Difference between Dataframe Dataset[T] in Spark 2
Read a CSV file
Read a Hive Table
Read from JDBC
Read from a Parquet File
Why you should think of Spark SQL before Spark Core?
Discussion on the Agenda for Next Session
Recap of the Previous Session
Download the Dataset for the Session
Understanding the usage of Typed and Untyped Columns
Usage of Typed Columns using Airport Dataset
Using Spark SQL as a JDBC Server
When to use Spark SQL
Using Spark SQL for Structured Data Processing using Spark 2 Shell-Example
Structured Streaming Example