kennknowles opened a new issue, #19250:
URL: https://github.com/apache/beam/issues/19250

   Similar to HbaseIO.ReadAll, it would be very useful to support a SDF based 
transform which can compose queries based off of input elements. 
   
   Implementation would split the work similarly to how the current Source API 
implementation works (leveraging slices within Elasticsearch).
   
   This work can facilitate a transition of ElasticsearchIO to SDF when more 
runners have implemented support.  Until then, I propose leaving the read() 
implementation alone and add a readAll method and associated transform to be 
implemented as an SDF.  Once enough runner support is ready, the existing Read 
transform would be updated to use the same SDF as the ReadAll transform with a 
null input element.
   
   A prototype implementation currently exists (albeit developed in a bubble) 
at 
[https://github.com/0xdecaf/beam/tree/feature/elasticsearchio.readall](https://github.com/0xdecaf/beam/tree/feature/elasticsearchio.readall)
 
   
    
   
   Imported from Jira 
[BEAM-6654](https://issues.apache.org/jira/browse/BEAM-6654). Original Jira may 
contain additional context.
   Reported by: tmoulton.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to