I am trying to read csv file from partitioned folders using dataflow activity ((yyyy/mm/dd/timestamp). how to read the csv files dynamically?
How to read single short for all the sub folders? above folder structure before start YYYY (year), the table name as a folder path.
eg : test/dwh/tablename/2023/01/15/100543/files.csv
You can use Wildcard paths in source options in dataflow as below.
test/dwh/tablename/**/**/**/**/*.csv
Here, you can give the Partition root path, that tablename in your case.
In my case following is the path
sampletable/2022/01/12/102344/part1.csv
In each csv files there are 6627
records.
And this is the number of rows written.
.