difference between using spark session and no spark session databricks code example
Example: entry point to programming Spark with the Dataset and DataFrame API
# entry point to programming Spark with the Dataset and DataFrame API
spark = SparkSession.builder.master(
"local").appName(
"Words Count").config(
"spark.some.config.option", "some-value").getOrCreate()