[jira] [Resolved] (BEAM-7916) Add ElasticsearchIO query parameter to take a ValueProvider
[ https://issues.apache.org/jira/browse/BEAM-7916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Romanenko resolved BEAM-7916. Resolution: Fixed > Add ElasticsearchIO query parameter to take 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 >Assignee: Alexey Romanenko >Priority: Major > Fix For: 2.16.0 > > Time Spent: 3h > 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}}. > Pull request: https://github.com/apache/beam/pull/9285 -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Resolved] (BEAM-7916) Add ElasticsearchIO query parameter to take a ValueProvider
[ https://issues.apache.org/jira/browse/BEAM-7916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Romanenko resolved BEAM-7916. Resolution: Fixed Fix Version/s: 2.16.0 A small note - new method {{Read.withQuery(ValueProvider query)}} has beed added to support dynamic queries with {{ValueProvider}} argument. > Add ElasticsearchIO query parameter to take 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 > Fix For: 2.16.0 > > Time Spent: 1h 20m > 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}}. > Pull request: https://github.com/apache/beam/pull/9285 -- This message was sent by Atlassian JIRA (v7.6.14#76016)