Spark¶
- Spark Introduction
- Spark RDD
- Spark Installation
- Spark SQL Introduction
- Spark SQL DataFrames
- SQLContext
- DataFrame Operations
- Running SQL Queries Programmatically
- Inferring the Schema using Reflection
- Programmatically Specifying the Schema
- Example
- Start the Spark Shell
- Create SQLContext
- Read Input from Text File
- Create an Encoded Schema in a String Format
- Import Respective APIs
- Generate Schema
- Apply Transformation for Reading Data from Text File
- Apply RowRDD in Row Data based on Schema
- Store DataFrame Data into Table
- Select Query on DataFrame
- References
- Spark SQL Data Sources