Skip to content

Commit

Permalink
spline #677 Consumer REST: Fix lineage-overview
Browse files Browse the repository at this point in the history
  • Loading branch information
wajda committed Feb 26, 2021
1 parent 7fd5725 commit d689e2f
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,20 @@ class OperationRepositoryImpl @Autowired()(db: ArangoDatabaseAsync) extends Oper
| LET inputs = (
| FOR v IN 1..1
| OUTBOUND ope follows
| RETURN v.outputSchema
| RETURN v
| )
|
| LET output = ope.outputSchema == null ? [] : [ope.outputSchema]
|
| LET schemas = (
| FOR s in APPEND(inputs, output)
| LET attributeList = (
| FOR a IN [] // <<<<<<---- attrs ----!!!!!!!!!!!!---------
| FILTER CONTAINS(s, a.id)
| RETURN a
| FOR op IN APPEND(inputs, ope)
| LET schema = (
| FOR attr IN 2 OUTBOUND op emits, consistsOf
| RETURN {
| "id": attr._key,
| "name": attr.name,
| "dataTypeId": attr.dataType
| }
| )
| RETURN attributeList
| RETURN schema
| )
|
| LET dataTypesFormatted = (
Expand Down

0 comments on commit d689e2f

Please sign in to comment.