Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1018

getEstimatedSizeBytes fails with large MongoDB collection sizes

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • io-java-mongodb
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              crcsmnky Sandeep Parikh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: