Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 06:59 AM - edited 07-30-2024 09:21 PM
yes it is weird , workaround for this
files = dbutils.fs.ls("s3 bucket or azure blob path")
file_paths = [file.path for file in files]
if target_path not in file_paths:
dbutils.fs.mkdirs(target_path)