Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2024 09:49 AM
Hi,
Perform a test with the code below
Code layout:
dbutils.fs.cp("file:///<file source directory>/<your file extension>", "dbfs:/<file destination directory>/", True)
Code example:
dbutils.fs.cp("file:///tmp/file.csv", "dbfs:/tmp/", True)
Att.
Thomaz Antonio Rossito Neto
Master Data Specialist - Data Architect | Data Engineer @ CI&T
Thomaz Antonio Rossito Neto
Master Data Specialist - Data Architect | Data Engineer @ CI&T