Dhiraj
Dhiraj

Reputation: 3696

Using ADFv2 Validation activity to check minimum size of Virtual Directory of Azure BLOB dataset

ADFv2 Validation activity using Azure BLOB dataset has a property called Minimum size. I would like to validate that a certain virtual directory for a given Azure blob storage has total file size specified in the Minimum size field. For that I have tried leaving the 'File' field of the connected dataset as blank but it didn't work. The activity succeeded even though there was an empty file in the virtual directory. Then again made the 'File' field as * and then the validation activity just kept running, never succeeded. How do I achieve this?

Upvotes: 0

Views: 460

Answers (1)

Leon Yue
Leon Yue

Reputation: 16431

Actually, I tested and found that: Minimum size only works for specified file, like bellow:

enter image description here

enter image description here

Parameter with dynamic content also doesn't support:

enter image description here

enter image description here

If we set the Minimum size value is bigger than the file size, the validation activity will always being in progress.

I think there are the limits about the validation activity. So we can't achieve that. We could call the Azure support to get more helps.

Hope this helps.

Upvotes: 2

Related Questions