Created
August 14, 2020 20:54
-
-
Save KKcorps/9accfbafbb228a2dba9d5816fcb5aeb1 to your computer and use it in GitHub Desktop.
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
val df = spark.read.format("csv").option("header", true).load("path/to/students.csv") | |
df.write.option("compression","none").mode("overwrite").parquet("/path/to/batch_input/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment