Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7916

Add ElasticsearchIO query parameter to take a ValueProvider

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14.0
    • Fix Version/s: 2.16.0
    • Component/s: io-java-elasticsearch
    • Labels:
      None

      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

        Attachments

          Activity

            People

            • Assignee:
              aromanenko Alexey Romanenko
              Reporter:
              oliver.henlich Oliver Henlich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h