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

library: handle missing fields

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: schema.rs
    • None
    • 3
    • Iteration Xiaolongbao, Iteration Yuca

      if parent_count - field_count > 0, some fields are missing. Create an Undefined type to add this information:

       

      field.types["Undefined"] = {
        name: 'Undefined',          
        type: 'Undefined',          
        path: field.path,          
        count: parent_count - field_count        
      };
      

       

            Assignee:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Reporter:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: