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

Add timeseries support for Sample and paginate by size partitioners

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 10.1.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Timeseries collections do not return a count from the $collStats aggregation.

      Example storageStats document:

      {
        size: 658,
        timeseries: {
          bucketsNs: 'test.system.buckets.weather',
          bucketCount: 1,
          avgBucketSize: 658,
          numBucketInserts: 1,
          numBucketUpdates: 0,
          numBucketsOpenedDueToMetadata: 1,
          numBucketsClosedDueToCount: 0,
          numBucketsClosedDueToSchemaChange: 0,
          numBucketsClosedDueToSize: 0,
          numBucketsClosedDueToTimeForward: 0,
          numBucketsClosedDueToTimeBackward: 0,
          numBucketsClosedDueToMemoryThreshold: 0,
          numCommits: 1,
          numWaits: 0,
          numMeasurementsCommitted: 12,
          avgNumMeasurementsPerCommit: 12,
          numBytesUncompressed: 0,
          numBytesCompressed: 0,
          numSubObjCompressionRestart: 0,
          numCompressedBuckets: 0,
          numUncompressedBuckets: 0,
          numFailedDecompressBuckets: 0
        },
        numOrphanDocs: 0,
        storageSize: 658,
        freeStorageSize: 0,
        capped: false,
      ...
        nindexes: 0,
        indexDetails: {},
        indexBuilds: [],
        totalIndexSize: 0,
        indexSizes: {},
        totalSize: 658,
        scaleFactor: 1
      }
      
      

        1. screenshot-1.png
          506 kB
          Jiabao Sun

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

              Created:
              Updated:
              Resolved: