beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2256) mongodb sdk MongoDbIO.BoundedMongoDbSource.splitKeysToFilters incorrect
Date Thu, 11 May 2017 20:12:04 GMT

    [ https://issues.apache.org/jira/browse/BEAM-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16007111#comment-16007111
] 

ASF GitHub Bot commented on BEAM-2256:
--------------------------------------

GitHub user jbonofre opened a pull request:

    https://github.com/apache/beam/pull/3093

    [BEAM-2256] Add the last previous range filter

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [X] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [X] Make sure tests pass via `mvn clean verify`.
     - [X] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [X] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
    
    ---


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbonofre/beam BEAM-2256-MONGODBIO

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3093.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3093
    
----
commit 48cdb57831f45236327ebb7fb26b5a771ec0e7d0
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Date:   2017-05-11T20:09:50Z

    [BEAM-2256] Add the last previous range filter

----


> mongodb sdk MongoDbIO.BoundedMongoDbSource.splitKeysToFilters incorrect
> -----------------------------------------------------------------------
>
>                 Key: BEAM-2256
>                 URL: https://issues.apache.org/jira/browse/BEAM-2256
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-extensions
>    Affects Versions: Not applicable, 0.4.0, 0.5.0, 0.6.0
>            Reporter: wang hongmin
>            Assignee: Jean-Baptiste Onofré
>              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
(v6.3.15#6346)

Mime
View raw message