Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2021 09:25 AM
- Community edition can have blocked saving to file system or executing %sh
- In other editions please verify that file there is. It can be saved for example to dbfs folder.
Following command could help:
dbutils.fs.ls("dbfs:/tmp/")
%sh
ls /dbfs/tmpyou can also consider to adjust your script to use dbfs prefix for example:
import urllib
urllib.request.urlretrieve("https://resources.lendingclub.com/LoanStats3a.csv.zip", "/dbfs/tmp/LoanStats3a.csv.zip")
My blog: https://databrickster.medium.com/