none
How to copy all json files in the folder of Azure Data Lake Store to CosmosDB RRS feed

  • Question

  • Any tips or sample codes? I would like to read all json files in ADLS folder and copy to Collection of the CosmosDB?

    Is it enough to edit data sets or should for each loop built on pipeline? 


    Kenny_I

    Tuesday, January 2, 2018 11:13 AM

Answers

  • Hi Kenny,

    You don't need a ForEach loop since copy activity can take ADLS folder path as the input dataset and it can copy all JSON files under that folder path.  Refer to this quickstart as an example (change destination from Blob Storage to CosmosDB):

    https://docs.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-powershell

    • Marked as answer by Kenny_I Friday, January 5, 2018 11:47 AM
    Wednesday, January 3, 2018 10:12 AM
    Moderator