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

Add ElasticsearchIO query parameter to take a ValueProvider

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.14.0
    • 2.16.0
    • io-java-elasticsearch
    • 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

            aromanenko Alexey Romanenko
            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