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

library: handle null and undefined data values

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

      if either null or undefined, should remove all the field_type values in the finalizing step. this is currently done in the js land:

      if (type.name === 'Null' || type.name === 'Undefined') {
        delete type.values;        
        type.unique = type.count === 0 ? 0 : 1;        
        type.has_duplicates = type.count > 1;
      }
      

            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: