How to change Content Type for blobs in Azure Datalake Storage Gen2

Raj D 591 Reputation points
2023-01-04T21:42:28.283+00:00

Greetings!!!

Hi, I am exploring different options to change Content Type for blobs in Azure Datalake Storage Gen2 using synapse analytics. I have lot of .txt, .csv, .json files that get copied over to Azure Datalake Storage Gen2 and it gets stored as application/octet-stream and need to be changed appropriately based on the file type.

Thank you in advance.

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,522 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,121 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,100 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nandan Hegde 33,241 Reputation points MVP
    2023-01-05T16:22:47.49+00:00

    My guess is you can use REST API to make those changes leveraging the web activity.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.