Azure Data Factory\Synapse Analytics : Fail the pipeline if no files matching wild card pattern

Поділитися
Вставка
  • Опубліковано 15 тра 2023
  • Often, we are given with situation to fail the pipeline if there are no files of certain wild card pattern. Normally, if we dont have matching files of specific wild card pattern, pipeline will not fail. If our requirement is to check for files and fail the pipeline if no file found, then watch this video!

КОМЕНТАРІ • 12

  • @AnandKumar-dc2bf
    @AnandKumar-dc2bf Рік тому +1

    Good Video but volume is low, Mam. Pleae check from next videos pls..

  • @user-hd9lk6qx4u
    @user-hd9lk6qx4u Рік тому +1

    Don't we have much easier way of checking if file is there or not mam? Using validation activity?

    • @AllAboutBI
      @AllAboutBI  Рік тому

      Validation activity just checks for child items. Theres A chance that in the folder other files are present too. So that time validation activity can't help much.

  • @nagulmeerashaik5336
    @nagulmeerashaik5336 Рік тому

    If we're learn azure devops now mandatory for experience? Without experience how we get the job?

  • @suryateja5323
    @suryateja5323 Рік тому +1

    You can use FilteredItemsCount tag coming from Filter directly to get the count instead of doing the length() .And How this is helpful because anyway the pipeline fails if it not resolves to any file pattern given in wild card .

    • @thirumalair4152
      @thirumalair4152 Рік тому

      Pipeline doesn fail if no file matching wilcard surya

    • @AllAboutBI
      @AllAboutBI  Рік тому

      Oh yeah, filtered item count can be used Surya!! Will leverage in next video. And, pipeline doesn't fail when no files found

    • @suryateja5323
      @suryateja5323 Рік тому

      ​@@thirumalair4152 When I say pipeline , the pipeline doesnot contain something like copy activties and all. For suppose let us think there is a single df activity in a pipeline . And Dataflow activity fails when it doesnot resolve to any file. I understand you if there is any activity like copy ,it will not fail the pipeline. But eventually you need data to go through the Dataflow /Adb activity in real time.

    • @suryateja5323
      @suryateja5323 Рік тому

      ​@@AllAboutBI We are grateful to have a guru like you mam. Already learnt a lot ,and still learning . Can you please make more detailing videos on Custom activity and what will be the realtime scenarios please. 🙂

  • @nagulmeerashaik5336
    @nagulmeerashaik5336 Рік тому

    It is necessary to learn azure data engineering with pyspark

    • @NeumsFor9
      @NeumsFor9 Рік тому

      It's necessary to learn more than one way and maximize reach with teammates and citizen developers alike.