Define Spark Session
Entry point to spark programming
Databricks directly starts spark session
Offers gateway to spark dataframe and api’s
Modes allowed while uploading the file
Failfast- as soon as the data mismatch the query fails
Dropmalformed - will leave malformed data and upload others
Permissive- malformed data is set to null
Spark Context
Manages connection to spark cluster
Modes that data frame writer support
What are managed tables
What is external table