Created
July 25, 2021 15:12
-
-
Save saisgit/9e076f62c9330e9a21dffeac6b01d97c 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
import org.apache.spark.sql.DataFrame | |
val filePath: String = "/user/hive/warehouse/product_json" | |
val jsonDF = spark.read.format("json").load(filePath) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment