Structured Data sources and Databases
Spark works with a variety of structured data sources including, but not limited to, the following:
- 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.
- Hive tables.
- 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
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 ...