delta-lake

How we can set table properties for delta table in pyspark using DeltaTable API

How we can set table properties for delta table in pyspark using DeltaTable API Question: Below is the code that I am trying in PySpark from delta import DeltaTable delta_table = DeltaTable.forPath(spark, delta_table_path) delta_table.logRetentionDuration = "interval 1 days" After this do we need to save this config or it will be applicable automatically. How we …

Total answers: 1

how Install the Delta Lake package on the on-premise environment?

how Install the Delta Lake package on the on-premise environment? Question: I want make a data lake for my self without using any cloud service. I now have an Debian server and I want create this data lake with Databricks solution, Delta Lake. As I search all sample for stablish Delta Lake in could service. …

Total answers: 1

Can you fake the timestamp of DeltaTable history in PySpark?

Can you fake the timestamp of DeltaTable history in PySpark? Question: For testing purposes I wanna get the version of a table by timestamp using e.g. option={‘timestampAsOf’: ‘2022-01-01 23:59:59’} But as I understand the timestamp in the history is always the current timestamp of the operation. Can I fake the timestamp, i.e. force it to …

Total answers: 2

Truncate delta table in Databricks using python

Truncate delta table in Databricks using python Question: Delta table delete operation is given here for Python and SQL, and truncate using SQL is given here. But I cannot find the documentation for Python truncate table. How to do it for delta table in Databricks? Asked By: Blue Clouds || Source Answers: Not everything is …

Total answers: 1

How to read from Azure Blob Storage with Python delta-rs

How to read from Azure Blob Storage with Python delta-rs Question: I’d like to use the Python bindings to delta-rs to read from my blob storage. Currently I am kind of lost, since I cannot figure out how to configure the filesystem on my local machine. Where do I have to put my credentials? Can …

Total answers: 3