Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
in a get metadata activity of a data pipeline I've tried to use a wildcard as "*.csv" in the file name cell of the file path section, but so the get metadata activity searchs a *.csv file.
It seems that it isn't possible to use an handy wildcard in a get metadata activity?
Any suggests in order to consider a specific set of files? Thanks
Solved! Go to Solution.
wildcard is not supported in Get metadata activity
So you would have to use a combination of Get meta data activity and filter activity.
get all files present within the folder via Get meta data activity and then leveraging the filter activity, filter out CSV specific file extensions
Hi @pmscorca ,
As @NandanHegde said, the Get Metadata activity does not support wildcard filters on folders/files.
related document:
Get Metadata activity - Azure Data Factory & Azure Synapse | Microsoft Learn
Consider dynamically constructing file paths or names using expressions and variables in the pipeline.
related document:
Parameterize linked services - Azure Data Factory & Azure Synapse | Microsoft Learn
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
wildcard is not supported in Get metadata activity
So you would have to use a combination of Get meta data activity and filter activity.
get all files present within the folder via Get meta data activity and then leveraging the filter activity, filter out CSV specific file extensions
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |