# Access CSV from Azure Data Storage getting error

**URL:** <https://discourse.greatexpectations.io/t/access-csv-from-azure-data-storage-getting-error/1073>\
**Category:** Archive\
**Tags:** how-to, help-wanted, databricks\
**Created:** [July 5, 2022, 10:06am UTC](https://discourse.greatexpectations.io/t/access-csv-from-azure-data-storage-getting-error/1073 "2022-07-05T10:06:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreemo50](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@sreemo50](https://discourse.greatexpectations.io/u/sreemo50)\
**Post date:** [July 5, 2022, 10:06am UTC](https://discourse.greatexpectations.io/t/access-csv-from-azure-data-storage-getting-error/1073/1 "2022-07-05T10:06:56Z")

</div>

root\_directory = “abfss://greate@adfgreate.dfs.core.windows.net/moviesDB.csv”  
data\_context\_config = DataContextConfig(  
store\_backend\_defaults=FilesystemStoreBackendDefaults(  
root\_directory=root\_directory  
),  
)

* * *

context = BaseDataContext(project\_config=data\_context\_config)  
df = spark.read.format(“csv”)  
.option(“header”, “true”)  
.option(“inferSchema”, “true”)  
.option(“delimiter”,“,”)  
.load(root\_directory)

* * *

ERROR

ValueError: root\_directory must be an absolute path. Got abfss://greate@adfgreate.dfs.core.windows.net/moviesDB.csv instead.
