Structured Data sources and Databases

Spark works with a variety of structured data sources including, but not limited to, the following:

  1. Parquet Files: Apache Parquet is a columnar storage format. More details about the structure of Parquet and how spark makes use of it is available in the Spark SQL chapter.
  2. Hive tables.
  3. JDBC: Spark allows the use of JDBC to connect to a wide variety of databases. Of course the data access via JDBC is relatively slow compared to native database utilities.

We'll cover most of the structured sources in Chapter 4, Spark SQL later in this book.

Working with NoSQL Databases

A NoSQL (originally referring to non SQL, non relational or not only SQL) database provides a mechanism for storage (https://en.wikipedia.org/wiki/Computer_data_storage ...

Get Learning Apache Spark 2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.