You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/05/15 22:54:00 UTC

[jira] [Commented] (BEAM-9961) Python MongoDBIO does not apply projection

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

Kenneth Knowles commented on BEAM-9961:
---------------------------------------

[~corvin] thanks for the detailed report - would you be interested in contributing a small fix?

> Python MongoDBIO does not apply projection
> ------------------------------------------
>
>                 Key: BEAM-9961
>                 URL: https://issues.apache.org/jira/browse/BEAM-9961
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-mongodb
>    Affects Versions: 2.20.0
>            Reporter: Corvin Deboeser
>            Priority: Major
>
> ReadFromMongoDB does not apply the provided projection when reading from the client - only filter is being applied as you can see here:
> https://github.com/apache/beam/blob/9f0cb649d39ee6236ea27f111acb4b66591a80ec/sdks/python/apache_beam/io/mongodbio.py#L204



--
This message was sent by Atlassian Jira
(v8.3.4#803005)