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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.