Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(dataset profiles): Change the test for un-exploded rows to work w…
…ith old indices
  • Loading branch information
rslanka committed Sep 15, 2021
commit c1439aa4e082d0d697aa298fe297ea4ad6be491c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public List<EnvelopedAspect> getAspectValues(@Nonnull final Urn urn, @Nonnull St
final BoolQueryBuilder filterQueryBuilder = ESUtils.buildFilterQuery(null);
filterQueryBuilder.must(QueryBuilders.matchQuery("urn", urn.toString()));
// NOTE: We are interested only in the un-exploded rows as only they carry the `event` payload.
filterQueryBuilder.must(QueryBuilders.termQuery(MappingsBuilder.IS_EXPLODED_FIELD, false));
filterQueryBuilder.mustNot(QueryBuilders.termQuery(MappingsBuilder.IS_EXPLODED_FIELD, true));
if (startTimeMillis != null) {
Criterion startTimeCriterion = new Criterion().setField(TIMESTAMP_FIELD)
.setCondition(Condition.GREATER_THAN_OR_EQUAL_TO)
Expand Down