The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
I have multiple CSV files gets stored in Lakehouse. My lakehouse name is S&P-500, see below screen shot
CSV file gets stored every day. I need to copy these files into warehouse using copy activity
I don't how to give in the file path. Can anyone help?
Solved! Go to Solution.
To set schema mapping, you can specify a single csv file first, and after setting the mappings, unset the file name setting.
As long as all csv files have same schema, the csv files should get copied into warehouse table.
To set schema mapping, you can specify a single csv file first, and after setting the mappings, unset the file name setting.
As long as all csv files have same schema, the csv files should get copied into warehouse table.
You can leave the file name empty, to indicate that all files in the folder will be copied.
Alternatively you can filter the files to be copied in a folder based on modified time. This setting is in the Copy activity -> Source -> Advanced.
Thanks @ajarora
When I leave the file name empty I am getting below and unable to do the mapping
My plan is to load every day alll the files by truncate table in pre script in the destination warehouse. I tried wildcard path as well by giving *.csv in the file name but it is not recognizing. Please advise
User | Count |
---|---|
20 | |
14 | |
6 | |
3 | |
3 |
User | Count |
---|---|
51 | |
27 | |
12 | |
11 | |
10 |