Hi @Mariah ,
Welcome to Microsoft Q&A forum and thanks for reaching out here.
If you would just like to get the last modified date of the .parquet files from your partitioned folders, one way is to have Two Get Meta Data Activities.
- First have a GetMetaData Activity and point the dataset to Root folder (
product_data
) and usechildItems
Argument to get the list of Partitioned folder names (For eg: [DATE_ID=20211002
,DATE_ID=20211003
, ....] ) that has the .parquet files for which you want to get the last modified date/Filenames - Then have a subsequent ForEach activity and pass the GetMEtadata activtiy output which contains the list of Partitioned folder names and loop through each Partitioned folder name.
- Inside ForEach Activity have another (2nd) GetMetaData Activity and point its dataset to Partitioned Folder name dynamically which you get for each iteration of the ForEach activity. In this GetMetaData activity configure the
Filter by Last Modified start and end time
as per requirement and in Argument selectchildItems
&LastModified
which will return the files list that has been modified in last 24 hr. You can have a subsequent filter activity in case if you want to filter files with name start withPart-
- Then have a
Append Variable
activity to collect the list of file names and their last modified datetime
Hope this helps. Do let us know if you have further query.
----------
- Please don't forget to click on and upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators