We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c4c809 commit 6424ed6Copy full SHA for 6424ed6
ydb/library/yql/sql/v1/sql_translation.cpp
@@ -90,6 +90,11 @@ TNodePtr BuildViewSelect(
90
}
91
issues.Clear();
92
93
+ // Holds (among other things) subquery references.
94
+ // These references need to be passed to the parent context
95
+ // to be able to compile view queries with subqueries.
96
+ context.PushCurrentBlocks(&parentContext.GetCurrentBlocks());
97
+
98
context.Settings.Mode = NSQLTranslation::ESqlMode::LIMITED_VIEW;
99
100
TSqlSelect selectTranslator(context, context.Settings.Mode);
0 commit comments