Ask Your Question
3

How can we use the Azure Synapse Copy Activity to save a json file to ADLS Gen2 with a content type of application json?

asked 2022-10-04 11:00:00 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-08-26 22:00:00 +0000

pufferfish gravatar image

To use the Azure Synapse Copy Activity to save a JSON file to ADLS Gen2 with a content type of application/json, follow these steps:

  1. Create a JSON file that you want to save in ADLS Gen2.
  2. In the Azure Portal, create an Azure Synapse Pipeline that includes a Copy Activity.
  3. In the settings for the Copy Activity, set the following properties:
    • Source: set to the location of the JSON file.
    • Destination: set to the ADLS Gen2 location where you want to save the JSON file.
    • FileFormat: set to JSON.
    • JsonWriteSettings: set to the appropriate JSON settings, including the content type of application/json.
  4. Save and run the pipeline to copy the JSON file to ADLS Gen2 with the specified content type.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-10-04 11:00:00 +0000

Seen: 10 times

Last updated: Aug 26 '22