How to enable object versioning on the files stored on ADLS Gen 2 in databricks

Raj D 586 Reputation points

Hi, I am currently in the process of reading and api json payload and store the json files in ADLS Gen 2. I am exploring ways to enable object versioning and file retention programmatically in Azure Databricks. Could you please help me point in that direction.

Thank you.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,416 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,059 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 84,936 Reputation points Microsoft Employee

    Hello @Raj D ,

    Unfortunately, Azure Data Lake Gen2 doesn’t support enable and manage blob versioning.

    To learn more, see Blob storage features available in Azure Data Lake Storage Gen2.

    Hope this helps. Do let us know if you any further queries.


    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful