taoensso / faraday

Amazon DynamoDB client for Clojure
https://www.taoensso.com/faraday
Eclipse Public License 1.0
238 stars 84 forks source link

Add support for aws-java-sdk 1.5.x [Create table fails due to missing indexes spec] #15

Closed ulsa closed 10 years ago

ulsa commented 10 years ago

Version 1.0.1 with aws-java-sdk 1.5.4 does this when creating a table:

user=> (create-table creds :test [:id :n])
AmazonServiceException One or more parameter values were invalid:
 List of LocalSecondaryIndexes is empty
  com.amazonaws.http.AmazonHttpClient.handleErrorResponse (AmazonHttpClient.java:679)
ulsa commented 10 years ago

OK, I saw your comment in project.clj about aws-java-sdk 1.5.x. It works with 1.4.4.2.

ptaoussanis commented 10 years ago

Hi Ulrik,

Yeah - something apparently broke with the SDK API change between 1.4x and 1.5x - haven't had a chance to look into it yet. PR's very welcome on this - I don't imagine it'd require major changes.

Will keep this issue open until we've got 1.5x support.

Cheers!