[ 
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)

Reply via email to