[
https://issues.apache.org/jira/browse/BEAM-7683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía updated BEAM-7683:
-------------------------------
Summary: MongoDBIO.withQueryFn ignores custom filter (was: MongoDBIO -
withQueryFn, ignoring custom filter)
> MongoDBIO.withQueryFn ignores custom filter
> -------------------------------------------
>
> Key: BEAM-7683
> URL: https://issues.apache.org/jira/browse/BEAM-7683
> Project: Beam
> Issue Type: Bug
> Components: io-java-mongodb
> Affects Versions: 2.13.0
> Reporter: Chaim
> Assignee: Chaim
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)