Skip to content

Commit

Permalink
Merge pull request #129 from jbouffard/s3-catalog-fix
Browse files Browse the repository at this point in the history
S3 Catalog Error Fix
  • Loading branch information
Jacob Bouffard committed Apr 26, 2017
2 parents cf88790 + c931a2d commit 10b6a89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions geopyspark/geotrellis/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ def _construct_catalog(geopysc, new_uri, options):
writer = writer_factory.buildFile(store)

elif backend == 's3':
store = store_factory.cached3(parsed_uri.netloc, parsed_uri.path[1:])
reader = reader_factory.cached3(store, geopysc.sc)
value_reader = value_reader_factory.cached3(store)
writer = writer_factory.cached3(store)
store = store_factory.buildS3(parsed_uri.netloc, parsed_uri.path[1:])
reader = reader_factory.buildS3(store, geopysc.sc)
value_reader = value_reader_factory.buildS3(store)
writer = writer_factory.buildS3(store)

elif backend == 'cassandra':
parameters = parsed_uri.query.split('&')
Expand Down

0 comments on commit 10b6a89

Please sign in to comment.