Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4626

Include smaller sample of values in Share Schema

    • Type: Icon: Story Story
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Compass
    • Labels:
      None
    • Not Needed

      It would be great if instead of array of values there would be just one value for a sample.

      For example, if you generate schema for sample_mflix.movies there's 100 array elements that are mostly the same

      {
            "name": "type",
            "path": "type",
            "count": 984,
            "types": [
              {
                "name": "String",
                "bsonType": "String",
                "path": "type",
                "count": 984,
                "values": [ "movie",..., "movie"],
                "total_count": 0,
                "probability": 0.984,
                "unique": 2,
                "has_duplicates": true
              }
      

      If it contained only one or couple of sample values, it would be easier to share the schema, as now it is pretty bulky - hard to review, and may have a lot of sensitive data to redact.

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            kateryna.kamenieva@mongodb.com Katya Kamenieva
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: