[COMPASS-3438] library: handle null and undefined data values Created: 04/Feb/19  Updated: 04/Mar/19  Resolved: 04/Mar/19

Status: Closed
Project: Compass
Component/s: schema.rs
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Irina Shestak (Inactive) Assignee: Irina Shestak (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-3418
Story Points: 2
Sprint: Iteration Xiaolongbao, Iteration Yuca

 Description   

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;
}


Generated at Wed Feb 07 22:33:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.