Skip to content

Commit

Permalink
Pass storage options to dask too
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Durant committed Jun 18, 2018
1 parent cd17af1 commit 817ed57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion intake_parquet/source.py
Expand Up @@ -119,10 +119,12 @@ def to_dask(self):
index = self._kwargs.get('index', None)
filters = self._kwargs.get('filters', [])
self._df = dd.read_parquet(self._urlpath, columns=columns, index=index,
filters=filters)
filters=filters,
storage_options=self._storage_options)
self._schema = None
self.discover() # resets schema to dask's better version
return self._df

def _close(self):
self._pf = None
self._df = None

0 comments on commit 817ed57

Please sign in to comment.