Skip to content

Commit

Permalink
YQL-17296 [lineage] fix for Member
Browse files Browse the repository at this point in the history
  • Loading branch information
vitstn committed Dec 10, 2023
1 parent dfbaba0 commit 61b9a12
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ydb/library/yql/core/services/yql_lineage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,15 @@ class TLineageScanner {
}

auto inner = ScanExprLineage(node.Head(), arg, src, visited);
if (!inner || !inner->StructItems) {
if (!inner) {
return Nothing();
}

TFieldsLineage result;
result.Items = *(*inner->StructItems).FindPtr(node.Tail().Content());
return it->second = result;
if (inner->StructItems) {
TFieldsLineage result;
result.Items = *(*inner->StructItems).FindPtr(node.Tail().Content());
return it->second = result;
}
}

if (node.IsCallable("SqlIn")) {
Expand Down

0 comments on commit 61b9a12

Please sign in to comment.