You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Sandeep Parikh (JIRA)" <ji...@apache.org> on 2016/11/21 16:01:02 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 ]

Sandeep Parikh updated BEAM-1018:
---------------------------------
    Description: 
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. 

  was:When running against large collections sizes (20M+ documents), MongoDbIO fails to correctly parse the {{size}} element in the document returned by {{db.runCommand({"collStats", "collectionName"})}}. As the collection sizes grow larger, the returned value is in scientific notation which cannot be parsed as a Long. 


> getEstimatedSizeBytes fails with large MongoDB collection sizes
> ---------------------------------------------------------------
>
>                 Key: BEAM-1018
>                 URL: https://issues.apache.org/jira/browse/BEAM-1018
>             Project: Beam
>          Issue Type: Bug
>    Affects Versions: 0.4.0-incubating
>            Reporter: Sandeep Parikh
>            Assignee: Jean-Baptiste Onofré
>
> 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
(v6.3.4#6332)