<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/core/facade, branch main</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=main</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2026-07-15T16:35:20Z</updated>
<entry>
<title>YQL-21401: Introduce AutoUseYqlLibs</title>
<updated>2026-07-15T16:35:20Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2026-07-15T16:09:58Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0527fcfdf47ed2baf07f27023af6552cfdbcfa9b'/>
<id>urn:sha1:0527fcfdf47ed2baf07f27023af6552cfdbcfa9b</id>
<content type='text'>
#### Introduce AutoUseYqlLibs flag to automatically treat yql_libs files as libraries ✎

- Added a new flag `AutoUseYqlLibs` that automatically marks files with the `yql_libs/` prefix as libraries without requiring explicit configuration
- The feature is controlled via a new command-line option and can be enabled in various execution contexts
- Removed manual library marking logic from task processing, centralizing the behavior in the facade layer
- Updated internal logic to apply the library usage flag based on the new auto-detection mechanism

&lt;a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"&gt;&lt;font size="2"&gt;Autodescription by Yandex Code Assistant&lt;/font&gt;&lt;/a&gt;
commit_hash:4168a7b05ff2755093b9de0e43a3995ef2fe0290
</content>
</entry>
<entry>
<title>YQL-21370: Support TCoreAttr::Args at SqlCore</title>
<updated>2026-07-10T10:56:42Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2026-07-10T10:20:58Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3bd130191d07e2cc2ec56cf79fa8453274092a10'/>
<id>urn:sha1:3bd130191d07e2cc2ec56cf79fa8453274092a10</id>
<content type='text'>
#### Support TCoreAttr::Args at SqlCore ✎

- Introduces support for extended SQL flags with arguments in the SqlCore configuration, allowing flags to carry additional parameters for more granular control
- Refactors internal flag handling to use a map-based structure instead of a simple set, enabling storage and processing of flag arguments
- Updates module resolver and translation settings parsing to work with the new extended flag format, ensuring proper flag propagation and application
- Adds new infrastructure for parsing and managing SQL translation flags with arguments, including dedicated parsing logic for specific flag types
- Maintains backward compatibility while enabling new functionality for SQL flag configuration through gateways and command-line options

&lt;a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"&gt;&lt;font size="2"&gt;Autodescription by Yandex Code Assistant&lt;/font&gt;&lt;/a&gt;
commit_hash:8b26974b3bf4ff2bdaf76715cbb210a8a15e1dad
</content>
</entry>
<entry>
<title>Use credentials for downloads across UDF index &amp; UDF meta task - second attempt</title>
<updated>2026-07-08T15:23:31Z</updated>
<author>
<name>ziganshinmr</name>
<email>ziganshinmr@yandex-team.com</email>
</author>
<published>2026-07-08T14:28:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6faa67fb9ff0275b20db7a4e63c46893ea5158b5'/>
<id>urn:sha1:6faa67fb9ff0275b20db7a4e63c46893ea5158b5</id>
<content type='text'>
- Cherry-pick of original "Use credentials for downloads across UDF index &amp; UDF meta task"
- Fix wrapping up UDF resolver with QPlayer adapter
commit_hash:df724df8c5b821f4c30ebf4359730107a6dbc253
</content>
</entry>
<entry>
<title>Revert commit rXXXXXX, Use credentials for downloads across UDF index &amp; UDF meta task</title>
<updated>2026-07-06T18:46:21Z</updated>
<author>
<name>ziganshinmr</name>
<email>ziganshinmr@yandex-team.com</email>
</author>
<published>2026-07-06T18:24:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=fbf0dbdf96bfb4b2ba415e1a231ea6037020d90b'/>
<id>urn:sha1:fbf0dbdf96bfb4b2ba415e1a231ea6037020d90b</id>
<content type='text'>
#### Revert URL preprocessing and credentials handling in UDF resolution ✎

- Removed URL preprocessing dependency and related token resolution logic from UDF index integration
- Simplified UDF resolver interface by eliminating optional URL preprocessing and token resolver parameters
- Removed credential parsing and handling from UDF meta tasks, removing the dependency on credential management components
- Streamlined file storage operations for UDF downloads by removing URL preprocessing and token handling steps
- Updated task creation logic to remove URL preprocessing configuration and credential processing in meta task execution

&lt;a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"&gt;&lt;font size="2"&gt;Autodescription by Yandex Code Assistant&lt;/font&gt;&lt;/a&gt;
commit_hash:e490d4d4cbb7a4cba7b1fd8dea609ca2d314af0e
</content>
</entry>
<entry>
<title>Use credentials for downloads across UDF index &amp; UDF meta task</title>
<updated>2026-07-03T16:09:37Z</updated>
<author>
<name>ziganshinmr</name>
<email>ziganshinmr@yandex-team.com</email>
</author>
<published>2026-07-03T15:34:54Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=1c76bc224a05c3f3ba35ac1f1b3380f0a0eb9480'/>
<id>urn:sha1:1c76bc224a05c3f3ba35ac1f1b3380f0a0eb9480</id>
<content type='text'>
- Use token resolver for downloading URLs from UDF index
- Support credentials passing to yqlworker's UDF_META query
commit_hash:bad5c0d991097ece5eeda4a5d81aff0a0a429e36
</content>
</entry>
<entry>
<title>YQL-20095: Tune bugprone-argument-comment</title>
<updated>2026-06-30T14:16:39Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2026-06-30T13:05:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8c0cddc7ffb0b7f0c39352957685fb04d7656b6f'/>
<id>urn:sha1:8c0cddc7ffb0b7f0c39352957685fb04d7656b6f</id>
<content type='text'>
https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html
commit_hash:780ff6a63be44998cb2336a05f3dc33e68a676bf
</content>
</entry>
<entry>
<title>Do not lose exceptions from CloseLastSession</title>
<updated>2026-06-15T21:20:25Z</updated>
<author>
<name>aneporada</name>
<email>aneporada@yandex-team.com</email>
</author>
<published>2026-06-15T20:27:55Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=818d5a8d88ee8f9b8094b466c3928f6b0347a5a2'/>
<id>urn:sha1:818d5a8d88ee8f9b8094b466c3928f6b0347a5a2</id>
<content type='text'>
commit_hash:1d47a3ab4f80db28fd14fb009140ac0951cbbe7d
</content>
</entry>
<entry>
<title>YQL-19813: Send runtime settings stats</title>
<updated>2026-05-22T15:03:08Z</updated>
<author>
<name>atarasov5</name>
<email>atarasov5@yandex-team.com</email>
</author>
<published>2026-05-22T08:23:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2791a158d7d180295ac2bdc9943867e11aad87c7'/>
<id>urn:sha1:2791a158d7d180295ac2bdc9943867e11aad87c7</id>
<content type='text'>
commit_hash:e8ea8f3c4365ed8b87ced31aa1fa34ca0686758c
</content>
</entry>
<entry>
<title>YQL-19813: Save and load qplayer</title>
<updated>2026-05-20T08:36:16Z</updated>
<author>
<name>atarasov5</name>
<email>atarasov5@yandex-team.com</email>
</author>
<published>2026-05-20T08:09:21Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7610b2d650b671e194c00a54ec5a7950ae81e957'/>
<id>urn:sha1:7610b2d650b671e194c00a54ec5a7950ae81e957</id>
<content type='text'>
**Режим capture** (qContext.CanWrite())

1. Проходим по всем элементам source с индексом idx.
2. Для каждого элемента вызываем filter(item) ровно один раз (фильтр может иметь побочные эффекты — например, запись статистики об активации).
3. Элементы, прошедшие фильтр, добавляются в возвращаемый результат.
4. Сохраняем индексы всех прошедших фильтр элементов в QStorage в формате V2:
   \{"version": "v2", "indexes": \[0, 2, 5, ...\]\}

---

**Режим replay** (qContext.CanRead())

1. Читаем YSON-запись из QStorage по ключу \{Component="Activation", Label=label\}.

2. Определяем версию формата по наличию ключа "version":

**Формат V1** (старый, обратная совместимость) — ключ "version" отсутствует:

- Структура: \{"имя\_флага": сериализованный\_proto, ...\}
- Десериализуем каждый флаг через ParseFromString, возвращаем список напрямую.
- Фильтр не вызывается. Список source игнорируется.

**Формат V2 (текущий)** — "version": "v2":

- Структура: \{"version": "v2", "indexes": \[0, 2, 5, ...\]\}
- Читаем сохранённое множество индексов.
- Проходим по source с *индексом* idx:
- Элемент без условия активации (!HasActivation()) → всегда включается (такие элементы не зависят от активации).
- Элемент с условием активации (HasActivation()) → включается только если его idx есть в сохранённом множестве.
- Фильтр не вызывается.
commit_hash:306113465bcd614cd3c0cd311ab20542d1f8e254
</content>
</entry>
<entry>
<title>[yql plugin] Make aborts more robust</title>
<updated>2026-05-12T12:16:02Z</updated>
<author>
<name>ngc224</name>
<email>ngc224@yandex-team.com</email>
</author>
<published>2026-05-12T11:48:10Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b8b75145f38a289fa4e6375f7975eb28951bd919'/>
<id>urn:sha1:b8b75145f38a289fa4e6375f7975eb28951bd919</id>
<content type='text'>
commit_hash:5ff8bec51c31adf2b1c45f579dd9854027f19007
</content>
</entry>
</feed>
