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 12:18:00 UTC

[jira] [Updated] (BEAM-1018) getEstimatedSizeBytes fails with large MongoDB collection sizes

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

Ismaël Mejía updated BEAM-1018:
-------------------------------
    Component/s:     (was: z-do-not-use-sdk-java-extensions)
                 io-java-mongodb

> getEstimatedSizeBytes fails with large MongoDB collection sizes
> ---------------------------------------------------------------
>
>                 Key: BEAM-1018
>                 URL: https://issues.apache.org/jira/browse/BEAM-1018
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-mongodb
>    Affects Versions: 0.4.0
>            Reporter: Sandeep Parikh
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 0.4.0
>
>
> When running against large collections sizes (20M+ documents), MongoDbIO fails to correctly parse the {{size}} element in the document returned by 
> {code:javascript}
> db.runCommand({'collStats', 'collectionName'})
> {code}
> As the collection sizes grow larger, the returned value is in scientific notation which cannot be parsed as a Long. 



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