}
return records;
}
public static void updateDatasetTags(JsonNode root)
throws Exception {
<BUG>final JsonNode idNode = root.path("datasetId");
final JsonNode urnNode = root.path("urn");</BUG>
final JsonNode tags = root.path("tags");
<BUG>if ((idNode.isMissingNode() && urnNode.isMissingNode()) || tags.isMissingNode() || !tags.isArray()) {
throw new IllegalArgumentException(
"Dataset tag info update fail, " + "Json missing necessary fields: " + root.toString());
</BUG>
}

}
return records;
}
