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

MongoDBIO.withQueryFn ignores custom filter

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.13.0
    • 2.15.0
    • io-java-mongodb
    • None

    Description

      begin.apply(tableInfo.getTableName(), MongoDbIO.read()
      .withUri("mongodb://" + connectionParams)
      .withQueryFn(FindQuery.create().withFilters(filter))
      .withDatabase(dbName)
      .withNumSplits(splitCount)
      .withCollection(tableInfo.getTableName()));

       

      the filter in withQueryFn is ignored

      Attachments

        Issue Links

          Activity

            People

              Turkel Chaim
              Turkel Chaim
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m