/.py
Created
November 17, 2023 08:30
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
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