<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/sql/v1/complete/syntax/grammar.cpp, 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-03T06:05:31Z</updated>
<entry>
<title>YQL-19747: Respect quotable columns</title>
<updated>2025-07-03T06:05:31Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-07-03T05:48:29Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=399640bac77022be833bebfbd33ba8a77627e45d'/>
<id>urn:sha1:399640bac77022be833bebfbd33ba8a77627e45d</id>
<content type='text'>
Table can have not `ID_PLAIN` columns and we
should return them as `ID_QUOTED`.
commit_hash:f5850228a3191ab84e3740fc1c36cf8882b08c40
</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: 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 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>
<entry>
<title>YQL-19747 Complete type name as a function argument</title>
<updated>2025-04-07T12:00:33Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-04-07T11:33:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=c33aace83a03e01fbf260c3a28c614a58cbce812'/>
<id>urn:sha1:c33aace83a03e01fbf260c3a28c614a58cbce812</id>
<content type='text'>
As I understand, type name should not be completed at `SELECT |`, so I added a check that we are at `invoke_expr` context.

Currently composite type keywords are suggested at `SELECT |` and also are uppercased. I will fix it separately when this merged during
- https://github.com/users/vityaman/projects/5?pane=issue&amp;itemId=105056723&amp;issue=vityaman%7Cydb%7C8

---

- Related to https://github.com/ydb-platform/ydb/issues/9056
- Related to https://github.com/users/vityaman/projects/5/views/1?pane=issue&amp;itemId=105056423&amp;issue=vityaman%7Cydb%7C7

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1182
commit_hash:e87565867cf9fa82d9ac49a88d59b293d6686fe7
</content>
</entry>
<entry>
<title>YQL-19747 Complete token sequences</title>
<updated>2025-04-02T18:36:46Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-04-02T18:25:29Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bf8b24c06de4df2df3bf8e40e82caba8f5528301'/>
<id>urn:sha1:bf8b24c06de4df2df3bf8e40e82caba8f5528301</id>
<content type='text'>
Token sequences plan
- [x] [Easy] Support `GROUP BY`, `ORDER BY`.
- [x] [Easy] Support `Optional&lt;`, `List&lt;`, `Dict&lt;`.
- [x] [Easy] Support `Avg(`, `Sum(`.

---
Co-authored-by: Victor Smirnov [53015676+vityaman@users.noreply.github.com]

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1173
commit_hash:a443dec666c486fef7f891be04d68a786be83049
</content>
</entry>
<entry>
<title>YQL-19747 Introduce types and functions ranking</title>
<updated>2025-04-02T12:53:10Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-04-02T12:37:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9728f9489a1c25e2b2e1e7959fa662a389f68db8'/>
<id>urn:sha1:9728f9489a1c25e2b2e1e7959fa662a389f68db8</id>
<content type='text'>
- [x] Fix bug with incorrect no-case sorting.
- [x] Get names from `sql_functions.json` and `types.json`.
- [x] Add types and functions ranking according to `rules_corr_basic.json` data via a `PartialSort`.
- [x] Add benchmark workspace.

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1167
commit_hash:84d93265fb69bf5651f905d6af038056657e9a16
</content>
</entry>
<entry>
<title>YQL-19747 Complete Function Names</title>
<updated>2025-03-28T19:36:16Z</updated>
<author>
<name>vityaman</name>
<email>vityaman.dev@yandex.ru</email>
</author>
<published>2025-03-28T19:01:21Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b60cb8f5ce78ae5f63304a534278e124d31398b0'/>
<id>urn:sha1:b60cb8f5ce78ae5f63304a534278e124d31398b0</id>
<content type='text'>
- Function names are suggested now
- Changed the module structure
- Checking ruleIndex independence on mode (ansi | default) via unit tests

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1163
commit_hash:1b1a27d2cff8db663c5c7e8efb57896476823315
</content>
</entry>
</feed>
