How to get the latest Json file from any Cloud source to the ADLS whenever the ADF Pipeline runs

kks8589 101 Reputation points
2020-10-06T10:30:30.973+00:00

Hi Team
Whenever we run a pipeline in ADF, how we are getting the latest file from a list of files from a source and copying it into the ADLS

Regards
Kks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,568 questions
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha-msft 19,471 Reputation points Microsoft Employee
    2020-10-08T23:04:04.617+00:00

    Hello @kks8589 ,

    Thanks for the reply . .
    I am not sure as to why the template is not showing GCS , let me share the pipeline which i tested ( the logic is pretty much same ) .
    Lets talk about the logic , we are going to run the pipeline using tumbling window trigger and it has two parameters start & EndTIme, and these are system varibles Starttime will be sent set as the time when the last time trigger ran EndTime as to be the current runtime .

    So to your ask of do we need to pass start and End time manually , that should not be the case .

    The below snapshot should help .

    30898-gcs1.gif

    Lets configure the triiger now and publish the pipeline .

    30998-gcs2.gif

    Thanks Himanshu
    Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members


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.