Skip to content

Instantly share code, notes, and snippets.

@dvainrub
Created April 11, 2018 12:47
Show Gist options
  • Save dvainrub/cfca464d344461905ca87b8a82eb8032 to your computer and use it in GitHub Desktop.
Save dvainrub/cfca464d344461905ca87b8a82eb8032 to your computer and use it in GitHub Desktop.
cmd> spark-shell
scala> spark.range(1).withColumn(“status”, lit(“All seems fine. Congratulations!”)).show(false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment