<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/sql/v1/complete/sql_complete.h, branch oidc-1.2.5-dev</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.5-dev</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.5-dev'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-07-04T14:00:55Z</updated>
<entry>
<title>YQL-20112: Support experimental documentation</title>
<updated>2025-07-04T14:00:55Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-07-04T13:10:09Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=73fccb4ea00d5ac50641cfc0bb03b24686bd6710'/>
<id>urn:sha1:73fccb4ea00d5ac50641cfc0bb03b24686bd6710</id>
<content type='text'>
LSP supports the following propoerty of the
completion item, that supports Markdown format:

```
/**
 * A human-readable string that represents a doc-comment.
 */
documentation?: string | MarkupContent;
```

I added docs only for a few items just to check a
look in the UI. Also some docs are shortened.

Documentation is opt-in decorator for a
NameService. Because it is not needed in the
YDB CLI, for example.
commit_hash:b400ed1224be2906b7fb1da29e9c97aa7578d710
</content>
</entry>
<entry>
<title>YQL-19747: Fix small TODOs</title>
<updated>2025-07-04T08:41:11Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-07-04T08:25:43Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8eaab401908d1764d0860e24191f3ed243e975e2'/>
<id>urn:sha1:8eaab401908d1764d0860e24191f3ed243e975e2</id>
<content type='text'>
- YQL-19747: Remove unused header
- YQL-19747: Remove NameSet alias
- YQL-19747: Fix identifier typo
- YQL-19747: Cosmetics
- YQL-19747: Receive NameRequest as const ref
- YQL-19747: Remove string_util.h
- YQL-19747: Change engine.Complete
- YQL-19747: Remove configuration typedef
- YQL-19747: Rename context to local
commit_hash:451a6ba7c08e670a492222a29463be40a627c867
</content>
</entry>
<entry>
<title>YQL-19747: Support LSP FilterText</title>
<updated>2025-07-03T12:02:48Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-07-03T11:40:24Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=fdc3ed2f3a53f64b189d53b2cb81513916a78dc3'/>
<id>urn:sha1:fdc3ed2f3a53f64b189d53b2cb81513916a78dc3</id>
<content type='text'>
LSP protocol has a property
```
/**
 * A string that should be used when filtering a set of
 * completion items. When omitted the label is used as the
 * filter text for this item.
 */
filterText?: string;
```

It is useful, e.g. when we prepend some punctuation
at a candidate content, but still want to filter by
prefix, ignoring that punctuation.

Related to https://nda.ya.ru/t/KCkzjhXS7G3Epg.
commit_hash:01f258218d312eef764350bd4d78da15acb8c9ea
</content>
</entry>
<entry>
<title>YQL-19747: Refactor SQL completion engine</title>
<updated>2025-06-26T14:24:30Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-06-26T13:37:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=633c9e434ac33037ba01b36a8f2937034903fe9f'/>
<id>urn:sha1:633c9e434ac33037ba01b36a8f2937034903fe9f</id>
<content type='text'>
Some refactorings to compact the code:

- YQL-19747: Pass TParsedInput to visitor
- YQL-19747: Add TParsedInput
- YQL-19747: Cosmetics
- YQL-19747: Refactor configuration
- YQL-19747: Refactor name to candidate mapping
commit_hash:44dfe7dc7bcc627ef9c20696077f2d962a3014f6
</content>
</entry>
<entry>
<title>YQL-20086 sql</title>
<updated>2025-06-18T12:49:04Z</updated>
<author>
<name>vvvv</name>
<email>vvvv@yandex-team.com</email>
</author>
<published>2025-06-18T12:12:37Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=379a419911ee1bbb93f56085133712fa5d8c3112'/>
<id>urn:sha1:379a419911ee1bbb93f56085133712fa5d8c3112</id>
<content type='text'>
commit_hash:b06f3d2f5fa81e2073966eb172758758bd94fdf2
</content>
</entry>
<entry>
<title>YQL-19747: Support token ignoring patterns</title>
<updated>2025-06-17T13:18:59Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-06-17T13:02:41Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0bc6f0197fa813fec678c75c760564724f591309'/>
<id>urn:sha1:0bc6f0197fa813fec678c75c760564724f591309</id>
<content type='text'>
Added support for token filtration. It is needed because YQL grammar supports multiple systems with various capabilities. For example, some of those do not support `INTERSECT ALL` and therefore `ALL` after `INTERSECT` should be *disabled*. Another example is a support of an only `EVALUATE FOR`, so `FOR`  is *forced* to be precendenced by  `EVALUATE`.
commit_hash:a926c8d3911f8dd025ab58eb7f81e2370fcd9376
</content>
</entry>
<entry>
<title>YQL-19747: Complete columns at simple select</title>
<updated>2025-06-17T10:12:27Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-06-17T09:45:20Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=633ab50dd51d6f17810f71559ccf6e5bfebe2044'/>
<id>urn:sha1:633ab50dd51d6f17810f71559ccf6e5bfebe2044</id>
<content type='text'>
Added support for a columns completion at a simple select. For example, `` SELECT # FROM hahn.`home/yql/tutorial/users` `` и `` USE hahn; SELECT $ FROM `home/yql/tutorial/users` ``.
commit_hash:2254449e91255c19792a1dc521825e44dda7d63b
</content>
</entry>
<entry>
<title>YQL-19747: Fix some TODOs and Clang Tidy checks</title>
<updated>2025-06-06T08:32:08Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-06-06T08:09:02Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=1df1c560c27a041991c7fc59bcdf232eb57ad11f'/>
<id>urn:sha1:1df1c560c27a041991c7fc59bcdf232eb57ad11f</id>
<content type='text'>
Clang Tidy is cool, but too slow ;(. Btw, should we respect `misc-include-cleaner` check?

```bash
ya dump compile-commands &gt; /tmp/cc/compile_commands.json
find . -type f \( -name "*.cpp" -o -name "*.h" \) -exec clang-tidy {} -p /tmp/cc {} -checks="misc-*" \;
```

---

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

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1305
commit_hash:c2ecf638062dcdd0730fed3381da4a230f5352c3
</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>
</feed>
