Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created November 17, 2023 08:30
today_data_df = spark.read.format('csv').option('header', 'true').load("../Desktop/Data-Engineering/data-samples/input-data/organizations-11111.csv")
today_data_df.show()
spark.sql("select * from orgs_data where organization_id = 'FAB0d41d5b5ddd'").show()
# Reading Existing Delta table
deltaTable = DeltaTable.forPath(spark, "orgs_data")
today_data_df.createOrReplaceTempView("incoming_data")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment