Hey @arve. Let me double check the code sample.
Also, what happens if you try turning your flow into a sequence?
a
arve
08/08/2025, 1:30 PM
As far as I can tell that would involve consuming the whole flow first. I am streaming a several GB dataset (which is why I have a flow in the first place 😅)
I ended up collecting to batches of 1k elements and doing multiple calls to SqlBatch{} instead. But being able to pipe the flow directly to sqlbatch as in the example would be cool
a
Alexander Ioffe
08/10/2025, 4:14 AM
Whoops, you can't just convert a flow to a sequence because sequences are synchronous under the hood.... silly me!
Yeah there's nothing in the batch API that should prevent this kind of operation. Let me look into it.