You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2019/06/10 10:20:00 UTC
[jira] [Updated] (BEAM-2256) mongodb sdk
MongoDbIO.BoundedMongoDbSource.splitKeysToFilters incorrect
[ https://issues.apache.org/jira/browse/BEAM-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía updated BEAM-2256:
-------------------------------
Component/s: (was: z-do-not-use-sdk-java-extensions)
io-java-mongodb
> mongodb sdk MongoDbIO.BoundedMongoDbSource.splitKeysToFilters incorrect
> -----------------------------------------------------------------------
>
> Key: BEAM-2256
> URL: https://issues.apache.org/jira/browse/BEAM-2256
> Project: Beam
> Issue Type: Bug
> Components: io-java-mongodb
> Affects Versions: Not applicable, 0.4.0, 0.5.0, 0.6.0
> Reporter: wang hongmin
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Labels: easyfix
> Fix For: 2.0.0
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> When use beam-sdks-java-io-mongodb to count a large collection in MongoDB, I always get a smaller number than actual size of the collection. It seems a puzzle, until I dived into source code and trace the execution. The fault exists in method MongoDbIO.BoundedMongoDbSource.splitKeysToFilters(), which should return one more FILTER than size of input argument splitKeys.
> I check all version of this file, it seems none was correct.
> Additionally, it seems no suitable [Component]. I choose a similar tag.:)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)