Skip to content

Instantly share code, notes, and snippets.

@mingwei-li
Created August 4, 2020 18:30
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 mingwei-li/cd27bf1a72c2f6d4da607f0bb1a617ac to your computer and use it in GitHub Desktop.
Save mingwei-li/cd27bf1a72c2f6d4da607f0bb1a617ac to your computer and use it in GitHub Desktop.
hyperspace - load-data
val df = spark.read.format("csv").option("header", "true").option("inferSchema", "true").load("hdfs://localhost:9000/hyperspace_test/customers.csv")
df.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment