Skip to content

Instantly share code, notes, and snippets.

@logikv
Last active December 23, 2019 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save logikv/afcf9c315c62d9102ae569cc562374ac to your computer and use it in GitHub Desktop.
Save logikv/afcf9c315c62d9102ae569cc562374ac to your computer and use it in GitHub Desktop.
spark.postfixTemplates
.buildSparkSession : create SparkSessionBuilder
NON_VOID → val spark = SparkSession.builder().master("local").appName("$expr$").getOrCreate() [IMPORT org.apache.spark.sql.SparkSession]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment