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

MongoDBIO.withQueryFn ignores custom filter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.0
    • Fix Version/s: 2.15.0
    • Component/s: io-java-mongodb
    • Labels:
      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

              • Assignee:
                Turkel Chaim
                Reporter:
                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