Skip to content

Instantly share code, notes, and snippets.

@saisgit
Created July 25, 2021 15:09
Show Gist options
  • Select an option

  • Save saisgit/595da3820865dc38d2cc108e67d9389c to your computer and use it in GitHub Desktop.

Select an option

Save saisgit/595da3820865dc38d2cc108e67d9389c to your computer and use it in GitHub Desktop.
import org.apache.spark.sql.DataFrame
val filePath: String = "/user/hive/warehouse/product_parquet"
val parquetDF: DataFrame = spark.read.parquet(filePath)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment