Re: [akka-user] Akka Streams - output CSV - how to know last line so can avoid appending new line character

2016-10-31 Thread Viktor Klang
You're most welcome. On Mon, Oct 31, 2016 at 2:49 PM, Gary Malouf wrote: > Ah - missed that in the API - thanks for the pointer! > > On Mon, Oct 31, 2016 at 9:47 AM, Viktor Klang > wrote: > >> intersperse? >> >> On Mon, Oct 31, 2016 at 2:40 PM,

Re: [akka-user] Akka Streams - output CSV - how to know last line so can avoid appending new line character

2016-10-31 Thread Gary Malouf
Ah - missed that in the API - thanks for the pointer! On Mon, Oct 31, 2016 at 9:47 AM, Viktor Klang wrote: > intersperse? > > On Mon, Oct 31, 2016 at 2:40 PM, Gary Malouf > wrote: > >> I am attempting to use Akka streams to read a large amount of

Re: [akka-user] Akka Streams - output CSV - how to know last line so can avoid appending new line character

2016-10-31 Thread Viktor Klang
intersperse? On Mon, Oct 31, 2016 at 2:40 PM, Gary Malouf wrote: > I am attempting to use Akka streams to read a large amount of data from a > database (in chunks) and output to a CSV on S3. While it may seem trivial, > I'm trying to find the best way to identify the

[akka-user] Akka Streams - output CSV - how to know last line so can avoid appending new line character

2016-10-31 Thread Gary Malouf
I am attempting to use Akka streams to read a large amount of data from a database (in chunks) and output to a CSV on S3. While it may seem trivial, I'm trying to find the best way to identify the final line of the to be created file and avoid putting a new line character at the end of it. Is