Skip to content

Commit

Permalink
comments on potential flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Jul 9, 2024
1 parent 464a7e0 commit 090866a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ public DataReader dataReader(RelatedResourceEntity<T> entity, ProcessingContext<

protected void indexResultByParentId(RelatedResourceEntity<T> entity, List<Object[]> result) {

// implicit ID ordering ... It must match that of CayenneQueryAssembler.queryColumns, or the values will
// be assigned to the wrong columns.

// TODO: be extra paranoid and sort the key columns in both places?

AgIdPart[] idAttributes = entity.getParent().getAgEntity().getIdParts().toArray(new AgIdPart[0]);

for (Object[] row : result) {
Expand Down

0 comments on commit 090866a

Please sign in to comment.