[
https://issues.apache.org/jira/browse/BEAM-7916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Henlich updated BEAM-7916:
---------------------------------
Description:
We need to be able to perform Elasticsearch queries that are dynamic. The
problem is {{ElasticsearchIO.read().withQuery()}} only accepts a string which
means the query must be known when the pipleline/Google Dataflow Template is
built.
It would be great if we could change the parameter on the {{withQuery()}}
method from {{String}} to {{ValueProvider<String>}}.
Pull request: https://github.com/apache/beam/pull/9285
was:
We need to be able to perform Elasticsearch queries that are dynamic. The
problem is {{ElasticsearchIO.read().withQuery()}} only accepts a string which
means the query must be known when the pipleline/Google Dataflow Template is
built.
It would be great if we could change the parameter on the {{withQuery()}}
method from {{String}} to {{ValueProvider<String>}}.
> Change ElasticsearchIO query parameter to be a ValueProvider
> ------------------------------------------------------------
>
> Key: BEAM-7916
> URL: https://issues.apache.org/jira/browse/BEAM-7916
> Project: Beam
> Issue Type: Improvement
> Components: io-java-elasticsearch
> Affects Versions: 2.14.0
> Reporter: Oliver Henlich
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We need to be able to perform Elasticsearch queries that are dynamic. The
> problem is {{ElasticsearchIO.read().withQuery()}} only accepts a string which
> means the query must be known when the pipleline/Google Dataflow Template is
> built.
> It would be great if we could change the parameter on the {{withQuery()}}
> method from {{String}} to {{ValueProvider<String>}}.
> Pull request: https://github.com/apache/beam/pull/9285
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)