scio
scio copied to clipboard
Add SparkeyIO
Adds SparkeyIO
, makes sparkey endpoints testable in JobTest
. See #3173
Open questions:
- Should
SparkeyIO
be used on the write path and if so how? - Is there a better way to pass inputs from JobTests than
SparkeyIO.testUri(...)
?
@psobot thoughts? I like the idea. Naming of SparkeyIO
etc. can be tweaked a bit but overall this could be useful?
So what should we do next? It is a bit hacky but also solves a practical need. Also it's in scio-extra
so I think we can live with it as long as we avoid confusing naming. @regadas?
I would like to give this some thought. I agree, it's practical but in scio-extra
this is probably the most used io/sideInput and for that reason I'm a little bit hesitant in adding things that we might discard in a near future.
@regadas any ideas on how we might restructure this to fit better w/ the rest of the architecture?
Closing in favor of a different approach