Created
October 1, 2022 23:00
-
-
Save cesar1091/5bfdf8ac9a940dcf4d87e6e7990a4b34 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
product = spark.read.format("csv").option("inferSchema","true").schema(ProductSchema).load("/public/retail_db/products/part-00000") | |
product.write.format("hive").saveAsTable("product") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment