Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
395 views
in Technique[技术] by (71.8m points)

ADF Azure Data-Factory loop over folder syntax - wilcard?

i'm tryimg to loop over a diffrent countries folder that got fixed sub folder named survey (i.e Spain/survey , USA/survey ).

where and how I Need to define a wildcard / parameter for the countries so I could loop over all the files that in the survey folder ?

what is the right wildcard syntax ? ( the equivalent of - like 'survey%' in SQL) ?

I tried several ways to define it with no success and I would be happy to get some help on this - Thanks !

question from:https://stackoverflow.com/questions/65885914/adf-azure-data-factory-loop-over-folder-syntax-wilcard

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

In case if the list of paths are static, you can create a parameter or add it in a SQL database and get that result from a lookup activity. Pass the output to a for each activity and within foreach activity use a copy activity. You can parameterize the input dataset to get the file paths thereby you need not think of any wildcard characters but use the actual paths itself. Hope this is helpful.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...