Spark Programming Spark SQL - Big Data

• It takes a path as argument and returns a DataFrame. • The path can be the name of either a JSON file or a directory containing multiple JSON files. • Spark SQL automatically infers the schema of a JSON dataset by scanning the entire dataset to determine the schema. • Can avoid scan and speed up DataFrame creation by specifying schema. ................
................