Last active
April 10, 2020 01:38
-
-
Save yaravind/944fd9c65e7e19eb972add9d341fb1c0 to your computer and use it in GitHub Desktop.
init file to load spark imports etc. You can use :load macro in the shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:paste | |
import org.apache.spark.sql.types._ | |
import com.databricks.spark.xml._ | |
import org.apache.spark.sql.functions._ | |
// For implicit conversions like converting RDDs to DataFrames | |
import spark.implicits._ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment