Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
teleivo committed Nov 15, 2024
1 parent 2c151c9 commit b5cdaaa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,6 @@ private String buildSql(
sqlBuilder.append(COLUMN_EVENT_ID);
sqlBuilder.append("=cm.evn_id ");

// TODO(ivo) use constant to refer to ev_eventdatavalues
if (TrackerIdScheme.UID
!= queryParams.getIdSchemeParams().getDataElementIdScheme().getIdScheme()) {
sqlBuilder.append(
Expand All @@ -647,7 +646,7 @@ lateral jsonb_each(
) as eventdatavalue(dataelement_uid, value)
on true
left join dataelement de on de.uid = eventdatavalue.dataelement_uid
where eventdatavalue.dataelement_uid is not null -- why is this necessary? how can there be empty keys?
where eventdatavalue.dataelement_uid is not null
""");
}

Expand Down

0 comments on commit b5cdaaa

Please sign in to comment.