GitHub user crcsmnky opened a pull request:
https://github.com/apache/incubator-beam/pull/1394
BEAM-1018: updated getEstimatedSizeBytes to use Number.longValue()
Updated BoundedMongoDbSource.getEstimatesSizeBytes to use more generic
`Number` class and then return `longValue()`. For smaller collections the
`size` is returned as Long but for larger collections, the `size` can be
returned using scientific notation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/crcsmnky/incubator-beam BEAM-1018
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam/pull/1394.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1394
----
commit a9e3e2928bb05672d8af950237e9fe4d96acbbf5
Author: Sandeep Parikh <[email protected]>
Date: 2016-11-21T16:05:36Z
BEAM-1018: updated getEstimatedSizeBytes to use Number.longValue()
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---