Skip to content

Instantly share code, notes, and snippets.

Created December 20, 2021 11:41
What would you like to do?
import org.apache.spark.sql.functions._
import org.apache.spark.sql.types._
// 만약 Databricks 노트북을 사용한다면 경로를
// `/FileStore/tables/marketing_campaign.csv"` 로 변경할 수 있습니다.
val df =
.option("format", "csv")
.option("sep", "\t")
.option("inferSchema", "true")
.option("header", "true")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment