[
https://issues.apache.org/jira/browse/BEAM-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683942#comment-15683942
]
Sandeep Parikh commented on BEAM-1018:
--------------------------------------
I have a simple patch ready, just involves casting returned value as Number and
then converting to longValue. Should I submit or hold off?
> 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)