Skip to content

Commit

Permalink
catalog: add log message, #TASK-7152, #TASK-7134
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarraga committed Oct 28, 2024
1 parent 7bbfea6 commit 68c8290
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ protected OpenCGAResult facet(MongoDBCollection collection, Bson query, String f
}
MongoDBFacetToFacetFieldsConverter converter = new MongoDBFacetToFacetFieldsConverter();
List<Bson> facets = MongoDBQueryUtils.createFacet(query, facet);
logger.info("facet; input = {}", facets);
DataResult<List<FacetField>> aggregate = collection.aggregate(facets, converter, null);
logger.info("facet; output = {}", aggregate.getResults());
return new OpenCGAResult<>(aggregate);
}

Expand Down

0 comments on commit 68c8290

Please sign in to comment.