How do I check if azure table storage exist in data factory

OGINTZ Marina 175 Reputation points
2024-01-11T08:38:38.1366667+00:00

Hi, I have pipeline that copy azure table storage, I inject parameters to this pipeline (for the linked service and dataset). One of the parameters could be source table name that doesn't exist, I tried to use this

"azureTableSourceIgnoreTableNotFound": true

but it doesn't work and I still get an exception when the table is not exist. So, I want to check if the table is exist before the copy activity because I don't want my pipeline to fall if the table is not exist. I didn't find a way to do it. Please assist

Azure Table Storage
Azure Table Storage

An Azure service that stores structured NoSQL data in the cloud.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


2 answers

Sort by: Oldest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

  2. ShaikMaheer-MSFT 38,631 Reputation points Microsoft Employee Moderator
    2024-01-11T09:50:24.3033333+00:00

    Hi OGINTZ Marina, Thank you for posting query in Microsoft Q&A Platform.

    You can consider using Lookup activity. If Lookup activity fails, that means table does not exist and on failure of it connect a wait activity. This avoids pipeline failure.On success of lookup activity, that means when table exists, we can run copy activity.

    User's image

    Hope this helps. Please let me know if any further queries.

    ---Please consider hitting Accept Answer button. Accepted answers help community as well. Thank you.

    Was this answer helpful?


Your answer

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