diff options
| author | ziganshinmr <[email protected]> | 2025-09-22 12:41:08 +0300 |
|---|---|---|
| committer | ziganshinmr <[email protected]> | 2025-09-22 13:29:40 +0300 |
| commit | 36776eedf3d8715a88152f3d1947c5432c5905da (patch) | |
| tree | b02a478135176de611b21fedc072813dbb8a4db0 /yql/essentials/sql/v1/node.cpp | |
| parent | bed24d65a2f9ee59b96775ef4c00c362693e4a67 (diff) | |
Do not use DependsOn in TablePath/TableRecord
commit_hash:0241dcec17f0a9b9cf2abfc955a4af169084c387
Diffstat (limited to 'yql/essentials/sql/v1/node.cpp')
| -rw-r--r-- | yql/essentials/sql/v1/node.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/yql/essentials/sql/v1/node.cpp b/yql/essentials/sql/v1/node.cpp index 41295dcabd3..c832839a143 100644 --- a/yql/essentials/sql/v1/node.cpp +++ b/yql/essentials/sql/v1/node.cpp @@ -1014,7 +1014,7 @@ bool TCallNodeDepArgs::DoInit(TContext& ctx, ISource* src) { return true; } -TCallDirectRow::TPtr TCallDirectRow::DoClone() const { +INode::TPtr TCallDirectRow::DoClone() const { return new TCallDirectRow(Pos_, OpName_, CloneContainer(Args_)); } @@ -1038,7 +1038,13 @@ bool TCallDirectRow::DoInit(TContext& ctx, ISource* src) { if (!TCallNode::DoInit(ctx, src)) { return false; } - Nodes_.push_back(Y("DependsOn", "row")); + + if (ctx.DirectRowDependsOn.GetOrElse(true)) { + Nodes_.push_back(Y("DependsOn", "row")); + } else { + Nodes_.push_back(AstNode("row")); + } + return true; } |
