Skip to content

Commit

Permalink
Save ext id and desc for phys flows
Browse files Browse the repository at this point in the history
- clear up unknowns on logicals if a physical flow is added and datatypes propagated up

#CTCTOWATLZ-2582
finos#6269
  • Loading branch information
jessica-woodland-scott-db committed Oct 26, 2022
1 parent d8ae859 commit 9a50e94
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ private void removeUnknownFromLogicalFlowWherePossible(DSLContext tx, long speci
.groupBy(lfd.LOGICAL_FLOW_ID)
.having(count(lfd.DECORATOR_ENTITY_ID).gt(0));

SelectConditionStep<Record1<Long>> unknownDecoratorsThatCanBeRemoved = tx.select(lfd.ID)
SelectConditionStep<Record1<Long>> unknownDecoratorsThatCanBeRemoved = tx
.select(lfd.ID)
.from(lfd)
.innerJoin(dt).on(lfd.DECORATOR_ENTITY_ID.eq(dt.ID)
.and(lfd.DECORATOR_ENTITY_KIND.eq(EntityKind.DATA_TYPE.name())))
Expand Down

0 comments on commit 9a50e94

Please sign in to comment.