diff options
| author | vitya-smirnov <[email protected]> | 2025-12-30 11:25:02 +0300 |
|---|---|---|
| committer | vitya-smirnov <[email protected]> | 2025-12-30 11:41:29 +0300 |
| commit | f76cd558570b1df1ba9b3f0779758b22fbd3c064 (patch) | |
| tree | 3e41e3bf816caf8cd47caeb7f996cc0e31a50fe9 /library/cpp/yt/error/error.cpp | |
| parent | e6c66e234bc02f6678d3787e640f5b06d25d97f0 (diff) | |
YQL-20436: Fix asterisk subquery on SqlSelect
I explored the following problem:
```yql
PRAGMA YqlSelect = 'force';
/* BAD */ SELECT (SELECT * FROM (SELECT 1 AS a) AS x);
/* OK */ SELECT (SELECT * FROM (SELECT 1 AS a) AS x);
FROM (VALUES (1)) AS y (b);
```
There was a fatal error of not found qualified column name in a list of
unqualified column names, or vice versa. The condition for qualification
was dependent on a fact of SubLink type annotation. But initially
columns are qualified depending on existence of an external input.
Actually it seems that the existence of an external input is a right
condition for column qualification.
commit_hash:d03011a0f70ee94bf05418326cd4b6c655c5999f
Diffstat (limited to 'library/cpp/yt/error/error.cpp')
0 files changed, 0 insertions, 0 deletions
