<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/sql/v1/complete/ya.make, 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-06-26T14:24:30Z</updated>
<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-19747: Synthesise subquery columns</title>
<updated>2025-06-24T13:06:46Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-06-24T12:50:39Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=573dadf304e5729bdad2dc02fd7c4ad2cb7a0524'/>
<id>urn:sha1:573dadf304e5729bdad2dc02fd7c4ad2cb7a0524</id>
<content type='text'>
commit_hash:40a2de243a67135e44505619fb766954ba24e2e8
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2025-06-11T16:20:34Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2025-06-11T16:08:20Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9911fa6c2280d6f815510b337889822ea51ed0f1'/>
<id>urn:sha1:9911fa6c2280d6f815510b337889822ea51ed0f1</id>
<content type='text'>
commit_hash:6db0e8f89d5131fe035c10bdaa61312e2a3a72db
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2025-06-09T17:25:09Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2025-06-09T17:13:36Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bcdf39ca01cce750f1cd7221198eaa0342731b21'/>
<id>urn:sha1:bcdf39ca01cce750f1cd7221198eaa0342731b21</id>
<content type='text'>
commit_hash:a5cf347a0fdbf87672444c86b9acad24d4ab956a
</content>
</entry>
<entry>
<title>YQL-19747: Extract analysis/local</title>
<updated>2025-06-09T12:27:49Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-06-09T11:56:43Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=16f7948813ad2cc32d95b9c1a6c444d3e4c7af9f'/>
<id>urn:sha1:16f7948813ad2cc32d95b9c1a6c444d3e4c7af9f</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/52

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1321
commit_hash:ef8af2fa618e6fc316d7a6cf348b7f737bb0cfb4
</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 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 caret token position</title>
<updated>2025-05-12T18:00:51Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-05-12T17:47:40Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b336ad5ec16dd1f541c55b7944fc9e6b5bba57a2'/>
<id>urn:sha1:b336ad5ec16dd1f541c55b7944fc9e6b5bba57a2</id>
<content type='text'>
Outcomes:
1. Need to think more deeply about library interfaces. If you think that an interface is redundant, think again, because author knows a usecase that you do not imagine.
2. If you are lazy now to implement something robustly, think twice because the day will come and this code
will fire.

The problem was that on input ``` ... cluster.`/yql/t#` ``` C3 receives only a prefix ``` ... cluster.`/yql/t ``` and a token stream produced was incorrect and therefore completions too.

---

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

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1271
commit_hash:8bf5f2683c9e41963003da923f255f63b898aac5
</content>
</entry>
<entry>
<title>YQL-19747 Introduce SimpleSchemaGateway</title>
<updated>2025-04-29T17:50:11Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-04-29T17:36:31Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0c2a81c9d391c539cfb25930a38fe153aa502255'/>
<id>urn:sha1:0c2a81c9d391c539cfb25930a38fe153aa502255</id>
<content type='text'>
Introduce the `SimpleSchemaGateway` to make it easier to implement `SchemaGateway`s. The idea is that actually existing schema providers really do not support filtration such as by name and type, so in practice they return us the whole list and we need to filter it by hand. The `SimpleSchemaGateway` to `SchemaGateway` adapter does this for us -- we only need to implement a path splitting and folder listing.

The other and important feature of the `SimpleSchemaGateway` is that it is simple to implement a caching decorator for it -- just store a mapping `Path -&gt; [FolderEntry]`, while caching a `SchemaGateway` with filters is soooo not trivial.

I also added string constants for known folder entry types, because they should be documented somewhere.

---

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

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1245
commit_hash:dda6dcac544ca95d5e8e08f1e7de9de6b5770f25
</content>
</entry>
</feed>
