Uploaded image for project: 'Spark Connector'
  1. Spark Connector
  2. SPARK-442

Calculate average document size if not available from storageStats

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Product Use Case

      Atlas Data Federation (ADF) does not include avgObjSize in the collStats. User can compute this though via size / count.

      User Impact

      It would allow the use of Spark and ADF with the default partitioners.

      User has provided a PR: https://github.com/mongodb/mongo-spark/pull/132
      This could be used as the base to switch calculations based on the presence of avgObjSize

            Assignee:
            Unassigned Unassigned
            Reporter:
            ross@mongodb.com Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None