<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/sql/v1/complete/sql_complete.cpp, branch CLI_2.22.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.22.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.22.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-06-02T11:57:54Z</updated>
<entry>
<title>YQL-19747: Ignore unsupported statements for YDB</title>
<updated>2025-06-02T11:57:54Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-06-02T11:31:27Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=1d7478a8215e996d0f1716c9551a70f444681405'/>
<id>urn:sha1:1d7478a8215e996d0f1716c9551a70f444681405</id>
<content type='text'>
- Related to `YQL-19747`
- Related to https://github.com/ydb-platform/ydb/issues/9056
- Related to https://github.com/vityaman/ydb/issues/39

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1307
commit_hash:782732c290cf2894ec466d2fbb5d0e96905f1804
</content>
</entry>
<entry>
<title>YQL-19747: Complete named expressions</title>
<updated>2025-06-02T10:49:48Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-06-02T10:23:33Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f8dd75681a31f8b883f1c69db243a1ded8bb8d94'/>
<id>urn:sha1:f8dd75681a31f8b883f1c69db243a1ded8bb8d94</id>
<content type='text'>
- Introduced scoped name collection at global analysis
- Added `BingingsNameService` constructed after global analysis and united with the base service.
- Added dollar detection at local analysis.

After this point design should be reexamined and module should be refactored.

---

- Related to `YQL-19747`
- Related to https://github.com/ydb-platform/ydb/issues/9056
- Related to https://github.com/vityaman/ydb/issues/57

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1304
commit_hash:a7bf41703f0ee846e359407b53a5d62fc05928ea
</content>
</entry>
<entry>
<title>YQL-19747: Support cursor shifting on completion</title>
<updated>2025-05-28T14:13:12Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-28T13:35:18Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d84972b06e6d5e001155d1be72189c6a2ef7e7ac'/>
<id>urn:sha1:d84972b06e6d5e001155d1be72189c6a2ef7e7ac</id>
<content type='text'>
Completion candidates comes unclosed from right and with zeroed `CursorShift`. In future there will be an atomic patch that will close candidates and set `CursorShift` correctly. Not it is zeroed to integrate with clients (e.g. YDB CLI).

---

- Related to `YQL-19747`
- Related to https://github.com/vityaman/ydb/issues/53
- Related to https://github.com/ydb-platform/ydb/issues/9056

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1299

Co-authored-by: vvvv &lt;vvvv@yandex-team.com&gt;
commit_hash:38bcd21f0d6959275af89a981fd9b296374aea51
</content>
</entry>
<entry>
<title>YQL-19747: Fix cluster provider interpretation</title>
<updated>2025-05-27T20:07:28Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-27T19:51:59Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=cc7006763c2335afaed9b76e4273339f91ed43cc'/>
<id>urn:sha1:cc7006763c2335afaed9b76e4273339f91ed43cc</id>
<content type='text'>
There was a mistake thinking that provider is a part of a cluster name. Actually `yt:saurus` and `saurus` are same clusters and provider (`yt`) serves only as a hint for translation expressions such as `yt:$cluster_name`.

---

- Related to `YQL-19747`
- Related to https://github.com/vityaman/ydb/issues/54
- Related to https://github.com/ydb-platform/ydb/issues/9056

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1301
commit_hash:19a45cf0bb6c7dda26747b2e3371646272f79bce
</content>
</entry>
<entry>
<title>YQL-19747: Support immediate string named expressions</title>
<updated>2025-05-27T09:09:17Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-27T08:56:16Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=04c43eb2d8297ffe7b7b7a5b4ca48980d01fca96'/>
<id>urn:sha1:04c43eb2d8297ffe7b7b7a5b4ca48980d01fca96</id>
<content type='text'>
---
- Related to `YQL-19747`
- Related to https://github.com/vityaman/ydb/issues/50

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1292
commit_hash:a6d543bc18b2f9239bf0b33afd8497a7919fe4b3
</content>
</entry>
<entry>
<title>YQL-19747: Refactor ISqlCompletionEngine configuration</title>
<updated>2025-05-26T10:39:53Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-26T10:21:46Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=05d72c6a2f1a25bd7e60713f46bfb1419a027ce0'/>
<id>urn:sha1:05d72c6a2f1a25bd7e60713f46bfb1419a027ce0</id>
<content type='text'>
&gt; no such statement
&gt; sql_stmt: (EXPLAIN (QUERY PLAN)?)? sql_stmt_core;
&gt; I suggest to add it always if needed for c3

---

- Related to `YQL-19747`
- Related to https://github.com/ytsaurus/ytsaurus/pull/1289
- Related to https://github.com/vityaman/ydb/issues/39

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1297
commit_hash:7b1a8947fdd5d8c6b737e781f2288632359f569d
</content>
</entry>
<entry>
<title>YQL-19747: Support statement blacklist</title>
<updated>2025-05-23T15:56:51Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-23T15:39:07Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7c0f642f72f590d66d364c59e77ab1a7e4d7fcf2'/>
<id>urn:sha1:7c0f642f72f590d66d364c59e77ab1a7e4d7fcf2</id>
<content type='text'>
I leaved the YDB configuration empty as need your feedback.

---

- Related to `YQL-19747`
- Related to https://github.com/vityaman/ydb/issues/39

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1289
commit_hash:408c7e0f101027fc6ca3d86d251b5639fcae07bb
</content>
</entry>
<entry>
<title>YQL-19747: Support USE statement</title>
<updated>2025-05-20T10:07:06Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-20T09:50:28Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=16630d4dfad772e0108e694f76f922e486cd6439'/>
<id>urn:sha1:16630d4dfad772e0108e694f76f922e486cd6439</id>
<content type='text'>
Introduce global analysis which will be extended with more ParseTree analysis later.

---

- Related to `YQL-19747`
- Related to https://github.com/vityaman/ydb/issues/40

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1281
commit_hash:848fb3fdd6bc9612769c47d66198fca018ff465f
</content>
</entry>
<entry>
<title>YQL-19747: Fix unquoted object path completion</title>
<updated>2025-05-19T14:51:48Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-19T14:36:10Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f16ede95953f8cdd44e3b762b175bd22e106bb5c'/>
<id>urn:sha1:f16ede95953f8cdd44e3b762b175bd22e106bb5c</id>
<content type='text'>
On `SELECT * FROM pn` it completed to `SELECT * FROM ppnv1`, but expected ``` SELECT * FROM `pnv1` ```.

---

- Related to `YQL-19747`
- Related to https://github.com/ydb-platform/ydb/issues/9056
- Related to https://github.com/vityaman/ydb/issues/44
- Related to https://github.com/ydb-platform/ydb/pull/18146

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1280
commit_hash:e937239fae7bf609bde6358b9b27c2b504c8ba32
</content>
</entry>
<entry>
<title>YQL-19747 Complete folder, table and cluster names</title>
<updated>2025-05-06T13:04:08Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-06T12:49:02Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9c3fdca51d8ae892c5ad8f6ef92df73fafc09e28'/>
<id>urn:sha1:9c3fdca51d8ae892c5ad8f6ef92df73fafc09e28</id>
<content type='text'>
---

- Related to `YQL-19747`
- On top of https://github.com/ytsaurus/ytsaurus/pull/1253
- Related to https://github.com/ydb-platform/ydb/issues/9056
- Related to https://github.com/vityaman/ydb/issues/14
- Related to https://github.com/vityaman/ydb/issues/35
- Related to https://github.com/vityaman/ydb/issues/40

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1257
commit_hash:0b842abb27184c88b8177beeea29fb1ea86b7a04
</content>
</entry>
</feed>
