<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/sql/v1/sql_ut_common.h, branch CLI_2.21.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.21.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.21.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-05-21T09:56:47Z</updated>
<entry>
<title>Fix parsing INDEX GLOBAL (SYNC|ASYNC)</title>
<updated>2025-05-21T09:56:47Z</updated>
<author>
<name>Vasily Gerasimov</name>
<email>UgnineSirdis@ydb.tech</email>
</author>
<published>2025-05-21T09:38:34Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a3559d6fde15102e1c1731e4bf7ee5cb0040a59d'/>
<id>urn:sha1:a3559d6fde15102e1c1731e4bf7ee5cb0040a59d</id>
<content type='text'>
* Changelog entry
Type: fix
Component: yql

Fix parsing unique index type. There was an error that, if not specified explicitly (SYNC or ASYNC), index type remained with the default value GLOBAL SYNC, despite that it was explicitly specified as UNIQUE in query.
https://github.com/ydb-platform/ydb/issues/17885

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1287
commit_hash:60de1b723fb1229f2197087fe21db67c72ccbd13
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2025-05-05T10:47:06Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2025-05-05T10:24:46Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=088f45ab7a9946b5dbc78dc7894b7d1d2316e62a'/>
<id>urn:sha1:088f45ab7a9946b5dbc78dc7894b7d1d2316e62a</id>
<content type='text'>
commit_hash:9d5644514d892de24a7e9625590c95a4549b0a46
</content>
</entry>
<entry>
<title>view: support show create in parser</title>
<updated>2025-03-31T18:21:16Z</updated>
<author>
<name>deminds</name>
<email>deminds@yandex-team.com</email>
</author>
<published>2025-03-31T18:09:56Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=57acd8934a357817125b6a17e79fe89d035b1d24'/>
<id>urn:sha1:57acd8934a357817125b6a17e79fe89d035b1d24</id>
<content type='text'>
commit_hash:1cf0e84327c47568687a689e091a6efbc8286bed
</content>
</entry>
<entry>
<title>Error for batch operations with RETURNING</title>
<updated>2025-03-31T08:47:59Z</updated>
<author>
<name>ditimizhev</name>
<email>ditimizhev@yandex-team.com</email>
</author>
<published>2025-03-31T08:36:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8b6fc14354f419cb8f0f71a4160b045c4ed37ab4'/>
<id>urn:sha1:8b6fc14354f419cb8f0f71a4160b045c4ed37ab4</id>
<content type='text'>
commit_hash:23ea6a6a3224e161a1998aceb2162dfe84744831
</content>
</entry>
<entry>
<title>YQL-19746 fix</title>
<updated>2025-03-20T19:30:37Z</updated>
<author>
<name>vvvv</name>
<email>vvvv@yandex-team.com</email>
</author>
<published>2025-03-20T19:15:41Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b0562c0e5a08f64cb9b64c37259f9c220dba4e3e'/>
<id>urn:sha1:b0562c0e5a08f64cb9b64c37259f9c220dba4e3e</id>
<content type='text'>
commit_hash:49e5e33ed38f7fd623cef80d2765d464a353ff9c
</content>
</entry>
<entry>
<title>view: use parent context for query AST building</title>
<updated>2025-03-11T11:18:49Z</updated>
<author>
<name>deminds</name>
<email>deminds@yandex-team.com</email>
</author>
<published>2025-03-11T10:59:51Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a524c2bc110ac3ca4cf6547f1f5e41ce28391ebb'/>
<id>urn:sha1:a524c2bc110ac3ca4cf6547f1f5e41ce28391ebb</id>
<content type='text'>
Issues:
* &lt;HIDDEN_URL&gt;
* &lt;https://github.com/ydb-platform/ydb/issues/14709&gt;

Previously it was impossible to create a simple view like the following:
```sql
CREATE VIEW demo_view WITH (security_invoker = TRUE) AS
  SELECT
    "bbb" LIKE Unwrap("aaa")
```

The problem was caused by the fact that a separate parsing context was used to build a view select AST for later validation. The list of UDFs is global for the whole parsing process to optimize the calculations. This global list was lost in the separate context and the view validation failed in such cases.

We fix the issue by using the same context for the view query validation in which the `CREATE VIEW` statement is executed. Moreover, we have started capturing all the statements in the view query text that can affect the compilation (see the `NeedUseForAllStatements` function).
commit_hash:f84d54ff1688fb43af7170a4db35f6729f2c4f10
</content>
</entry>
<entry>
<title>Fix bug in ALTER USER with set null password</title>
<updated>2025-03-06T14:51:31Z</updated>
<author>
<name>flown4qqqq</name>
<email>flown4qqqq@yandex-team.com</email>
</author>
<published>2025-03-06T14:32:09Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=82a5981c8a3a21d7cc17551fac0c1513f3cbf95a'/>
<id>urn:sha1:82a5981c8a3a21d7cc17551fac0c1513f3cbf95a</id>
<content type='text'>
До этого, при любом запросе ALTER USER без опции PASSWORD выставлялось значение Null Password как дефолтовое - это баг, потому что при модификации пользователя не надо выставлять вообще никакого значения.
commit_hash:3cb3d5bb3e9487439787deb9102cd0105b6b9e82
</content>
</entry>
<entry>
<title>Change the text of error for create user with password.</title>
<updated>2025-03-01T22:16:41Z</updated>
<author>
<name>flown4qqqq</name>
<email>flown4qqqq@yandex-team.com</email>
</author>
<published>2025-03-01T21:52:13Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=199aeeaa8d7db8a474c4ea12634114b8fd17d079'/>
<id>urn:sha1:199aeeaa8d7db8a474c4ea12634114b8fd17d079</id>
<content type='text'>
commit_hash:6631b600dda026c616983f0b08daa912beb0f5db
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2025-02-28T06:08:11Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2025-02-28T05:49:36Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=35d7c485a4db047e51377145f5fb8db47b3d1eec'/>
<id>urn:sha1:35d7c485a4db047e51377145f5fb8db47b3d1eec</id>
<content type='text'>
commit_hash:6de10ee070edbce022e46ebcc3c5740ed2f84b10
</content>
</entry>
</feed>
