Comments (17)
Will look shortly, thanks!
from faraday.
Just a heads-up: please pause further development until I've integrated all current changes. Will try get these in asap.
from faraday.
Acknowledged. If I have to do any other changes, I'll do them on feature branches and leave them unmerged for now.
from faraday.
Okay, have updated [com.taoensso/faraday "1.9.0-SNAPSHOT"]
- changelog is here. There's no other breaking changes on your end, yes?
Could I possibly ask you to rebase against the current dev
branch and update your tests for e8fa44a and 07f1489?
Renamed these options to keep the types clearer / to avoid confusion. Don't mind if something's a little unclear at first (e.g. proj
for projection
) so long as it's consistent and unambiguous once you understand the meaning. In this way I feel proj-expr
is less ambiguous than, say, projection
- since there's a number of uses of "projection" in Faraday and in keeping the expr
we keep it clear what type we have in mind here. Does that seem reasonable?
If you can confirm that everything else still seems to be working okay, then I'll cut an alpha3
release.
Appreciate all the time you've put in on this, it's been a huge help.
from faraday.
Wondering about the rebase you did: Not a fan of finishing feature branches with a recursive merge on dev?
There's no other breaking changes on your end, yes?
None planned right now.
Could I possibly ask you to rebase against the current dev branch and update your tests for e8fa44a and 07f1489?
Sure, will do early tomorrow.
Appreciate all the time you've put in on this, it's been a huge help.
Glad it could contribute!
from faraday.
Wondering about the rebase you did
Not a general rule, just keeping things organized since you had a lot of commits coming in.
None planned right now.
Sorry, I mean other breaking changes already in that I may have missed while compiling the changelog.
Cheers :-)
from faraday.
I've re-done the tests for those commits, but tests are now failing (in a variety of ways) after the change from commit 484ee3d for issue #63.
It's not only my tests either, the batch-write-item
call on the first tests after ;;;; Basic API throws an exception as well.
(after-setup!
#(far/batch-write-item *client-opts*
{ttable {:delete [{:id 0} {:id 1} {:id 2}]}}))
Fails with:
Exception in thread "Thread-0" java.lang.IllegalArgumentException: No implementation of method: :kv-reduce of protocol: #'clojure.core.protocols/IKVReduce found for class: clojure.lang.LazySeq
at clojure.core$_cache_protocol_fn.invokeStatic(core_deftype.clj:568)
at clojure.core.protocols$fn__6757$G__6752__6766.invoke(protocols.clj:174)
at clojure.core$reduce_kv.invokeStatic(core.clj:6572)
at clojure.core$reduce_kv.invoke(core.clj:6563)
at [...]
How do you want to handle this? It's not clear what *attr-multi-vs?
is supposed to indicate, since there are no comments. All tests pass if it defaults to true. It doesn't seem to be an issue of simply passing it on the opts for batch-write-item
, as the test above still barfs.
Should I just push the commits as the tests work when it defaults to true, and let you deal with the breaking chance?
Update: I'll be AFK for a while today, pushing the commits so you can take a look.
from faraday.
Regarding breaking changes: yes, one's missing. See commit 4e1bbbe - update-table used to always expect the throughput, which is now optional, and that parameter is instead a map of possible changes.
from faraday.
Thanks, will take a look at getting everything finished up today!
from faraday.
Updated [com.taoensso/faraday "1.9.0-SNAPSHOT"]
- changelog is here.
Local tests passing on my end, but I'm not using DDB so please confirm? If you give me the go-ahead, will cut an alpha3.
from faraday.
Hmm, tests seem to get stuck against a local DynamoDB instance after
Reflection warning, expectations.clj:566:16 - reference to field ns can't be resolved.
Reflection warning, expectations.clj:566:28 - reference to field sym can't be resolved.
This is what happened when we got an exception and a promise didn't get delivered.
Eventually they do fail with an error where it seems like it's attempting to modify an index while an operation is in process, but I do see the index-status-watch calls on the test. Will do further review.
from faraday.
Anything special I need to do to reproduce that?
I'm just running ./run-tests local
on my end and everything's passing. FYI current HEAD is 711a1fc.
from faraday.
Would also note that the current HEAD no longer uses promises anywhere for this reason. The promises were unnecessary so just switched them out for plain futures which'll rethrow errors on deref.
from faraday.
Nope, just booted a local instance I'm using for other tests and ran lein test
. Using ./run-tests local
the tests do seem to pass.
Nevermind. Restarted that instance and tests pass as expected.
from faraday.
Updated and tested against my own code, all good on that end as well. Thumbs up for release from me!
from faraday.
BTW, just noticed a typo on the changelog:
v1.7.1 / 2015 June 4
This is a non-breaking maintenance elease
Notice elease
from faraday.
Great, thanks - just pushed [com.taoensso/faraday "1.9.0-alpha3"]
to Clojars
from faraday.
Related Issues (20)
- CI integration HOT 5
- Remove support for `:expected` HOT 3
- attribute_not_exists not respected consistently HOT 3
- Support for Streams HOT 8
- missing ScanIndexForward option with far/scan HOT 1
- Request: custom keywordization routine HOT 3
- Is the scan function safe for large tables? HOT 7
- Upgrade to 1.11.16+ of aws-sdk-java for task-level IAM role support in AWS ECS HOT 9
- Add support for DynamoDB Transactions HOT 6
- Upgrade to 1.11.459 of aws-sdk-java for management of On Demand tables
- Upload all doc versions to http://taoensso.github.io/faraday/{version}
- Porting to AWS SDK v2 HOT 16
- missing page-size/max-result-size option with query HOT 1
- Support empty strings HOT 4
- not listing tables HOT 14
- Setting `region` in client-opts causes ClassCastException
- String index names cause type error HOT 3
- Local docker example from readme only with `-p 8000:8000` arg HOT 1
- Possibly confusing dependencies found HOT 3
- FYI: have pushed some superficial changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faraday.