athena icon indicating copy to clipboard operation
athena copied to clipboard

The Session abstraction needs a *lot* of work.

Open dpratt opened this issue 11 years ago • 0 comments

The current Session API is extremely unwieldy and requires quite a bit of ceremony to do even simple tasks like iterate a query result. It's implemented with Play Iteratees, which is an okay solution, but it could be better.

I'm not sure of the right direction to go here, since async processing of streams of data doesn't really have a good way to make it as easy as a simple blocking iterative API. When it's ready to go, however, a version of a Session that exposes a reactive streams Producer and implemented with the (still experimental) Akka Streams library is probably the way to go.

dpratt avatar Aug 10 '14 13:08 dpratt