In azure databricks i have different results for the directory list of dbfs by simply adding two dots. Can anybody explain to me why this happens?


In azure databricks i have different results for the directory list of dbfs by simply adding two dots. Can anybody explain to me why this happens?


Copyright © 2021 Jogjafile Inc.
 
                        
With dbutils, you can only use "dbfs:/" paths. If you do not specify "dbfs:/" at the start of your path, it will simply auto-add it.
is exactly the same as
but if you do not use the ':', then it will add it silently.
It means your dbfs/ is considered as a folder name dbfs at the root of your dbfs:/
To avoid confusion, always specify dbfs:/ to your path.