[
https://issues.apache.org/jira/browse/BEAM-7683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878740#comment-16878740
]
Ahmed El.Hussaini commented on BEAM-7683:
-----------------------------------------
LOOL. Note to self, never reply to issues before having my morning cappuccino :D
> 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
> Fix For: 2.15.0
>
> Time Spent: 20m
> 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)