You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/11/28 13:45:00 UTC

[jira] [Updated] (BEAM-6134) MongoDbIO add support for projection

     [ https://issues.apache.org/jira/browse/BEAM-6134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated BEAM-6134:
---------------------------------------
    Fix Version/s:     (was: 2.9.0)
                   2.10.0

> MongoDbIO add support for projection
> ------------------------------------
>
>                 Key: BEAM-6134
>                 URL: https://issues.apache.org/jira/browse/BEAM-6134
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-mongodb
>    Affects Versions: 2.8.0
>            Reporter: Chaim
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: easyfix
>             Fix For: 2.10.0
>
>   Original Estimate: 24h
>          Time Spent: 40m
>  Remaining Estimate: 23h 20m
>
> MongoDbIO.read should have support for Projection, so that we can limit the document size that is retrieved, for example:
>  
> pipeline.apply(tableName + " read", MongoDbIO.read()
>  .withUri("mongodb://" + srcMongodbManagment.getMongodbConnection())
>  .withProjection("time")
>  .withDatabase(options.getDBName())
>  .withKeepAlive(true)
>  .withCollection(tableName))
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)