May 2017
Intermediate to advanced
294 pages
7h 33m
English
Spark SQL is a component of the Spark ecosystem, introduced in Spark 1.0 for the first time. It incorporates a project named Shark, which was an attempt to make Hive run on Spark.
Hive is essentially a relational abstraction; it converts SQL queries into MapReduce jobs. See the following figure:

Shark replaced the MapReduce part with Spark while retaining most of the code base:

Initially, it worked fine, but very soon, Spark developers hit roadblocks and could not optimize it any further. Finally, they decided to write the SQL ...
Read now
Unlock full access