<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials, 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-24T14:31:53Z</updated>
<entry>
<title>YQL-21401: Enable yql_libs in purecalc &amp; embedded</title>
<updated>2026-07-24T14:31:53Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2026-07-24T13:22:45Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=cc12a5b0687732cee182a45da204548f86d3146c'/>
<id>urn:sha1:cc12a5b0687732cee182a45da204548f86d3146c</id>
<content type='text'>
#### Enable yql_libs support in purecalc and embedded modes ✎

- Updated internal data handling to properly manage user data tables by value instead of const reference, enabling correct transfer and usage of library blocks
- Implemented logic to identify and mark YQL library blocks in user data, ensuring they are properly recognized and utilized during query compilation
- Enhanced embedded mode to automatically enable YQL library usage, allowing seamless integration of YQL libraries without explicit configuration
- Applied necessary code adjustments and fixes to maintain compatibility and proper functionality across the modified components

&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:937c4d3fa5fb566a256cc3d1d164bf4796a3ec44
</content>
</entry>
<entry>
<title>Fix handling SessionWindow without session columns</title>
<updated>2026-07-24T12:59:01Z</updated>
<author>
<name>aneporada</name>
<email>aneporada@yandex-team.com</email>
</author>
<published>2026-07-24T12:18:06Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e968445dae721e2226ade66ec2f3669f1a19fc2a'/>
<id>urn:sha1:e968445dae721e2226ade66ec2f3669f1a19fc2a</id>
<content type='text'>
#### Fix handling of SessionWindow without session columns ✎

- Corrected logic for detecting and handling SessionWindow operations when no session columns are specified, ensuring proper validation and error reporting
- Updated type annotation checks to correctly identify session windows and prevent unsupported WinFilter usage with them
- Added test case to verify correct behavior when SessionWindow is used without explicit session columns, preventing incorrect fusion of filters with such windows

&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:9ee57415718e3b085d3eebf843a30a7e919f5e5e
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2026-07-24T10:46:37Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2026-07-24T09:38:22Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=975cee38ea13ce473d9ee4c8a764d9be51d6f78e'/>
<id>urn:sha1:975cee38ea13ce473d9ee4c8a764d9be51d6f78e</id>
<content type='text'>
commit_hash:c6d6cae76698798d837871b1712e42a66e6da45d
</content>
</entry>
<entry>
<title>YQL-21229: UDF setting extra memory validation</title>
<updated>2026-07-24T08:57:53Z</updated>
<author>
<name>eakozyrev</name>
<email>eakozyrev@yandex-team.com</email>
</author>
<published>2026-07-24T08:25:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0c4c053d1ed716ef9f95692b6456882e483e4d24'/>
<id>urn:sha1:0c4c053d1ed716ef9f95692b6456882e483e4d24</id>
<content type='text'>
#### UDF extra memory setting validation and normalization ✎

- Added validation and parsing for UDF `extraMem` settings to ensure proper memory allocation values
- Implemented support for human-readable size formats (like '1G', '512M', '1T', '512K') in addition to raw byte values
- Introduced automatic normalization of parsed size values back to raw byte format in UDF settings
- Added error handling with descriptive messages for invalid `extraMem` setting values
- Enhanced type annotation processing to handle modified settings and repeat transformation when changes occur

&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:3b218a0739e0f917bb2470cd25ed2c8b75781345
</content>
</entry>
<entry>
<title>Do not fuse Filter with CalcOverSessionWindow</title>
<updated>2026-07-23T19:01:28Z</updated>
<author>
<name>aneporada</name>
<email>aneporada@yandex-team.com</email>
</author>
<published>2026-07-23T18:14:39Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=91fab657319206d432895e313a53c7d8eb380569'/>
<id>urn:sha1:91fab657319206d432895e313a53c7d8eb380569</id>
<content type='text'>
#### Prevent Fusion of Filter with Session Window Calculations ✎

- Disable the optimization that fuses filter operations with calculations over session windows to avoid incorrect query execution.
- Update type annotation logic to explicitly reject `WinFilter` usage in conjunction with session windows.
- Add validation to ensure session window calculations are not incorrectly transformed when filter operations are present.
- Introduce new test cases to verify that filters are not fused with session window calculations and maintain expected query behavior.

&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:99454a5276ec896a68b5dc6339ab0b922e31d85e
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2026-07-23T16:44:21Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2026-07-23T16:19:39Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2028a0f9f3d1001befbf67900a5230a452fbb4be'/>
<id>urn:sha1:2028a0f9f3d1001befbf67900a5230a452fbb4be</id>
<content type='text'>
commit_hash:e9f9f235622634ecdf8656af507d5c1ba8dc0375
</content>
</entry>
<entry>
<title>Add CREATE IF NOT EXISTS, CREATE OR REPLACE, ALTER/DROP IF EXISTS for SECRET operations</title>
<updated>2026-07-23T13:17:44Z</updated>
<author>
<name>azevaykin</name>
<email>azevaykin@yandex-team.com</email>
</author>
<published>2026-07-23T12:31:05Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7f1caa8883ece537eda0cc9c5c5dc03f007fd9ae'/>
<id>urn:sha1:7f1caa8883ece537eda0cc9c5c5dc03f007fd9ae</id>
<content type='text'>
#### Add CREATE IF NOT EXISTS, CREATE OR REPLACE, ALTER/DROP IF EXISTS for SECRET operations ✎

- Introduce support for `CREATE IF NOT EXISTS` and `CREATE OR REPLACE` syntax for secret creation, allowing conditional secret creation based on existence
- Add `ALTER IF EXISTS` and `DROP IF EXISTS` syntax for secret modification and deletion, preventing errors when operating on non-existent secrets
- Extend secret operation parsing to handle optional keywords for conditional operations while maintaining backward compatibility
- Update secret parameter validation and error handling to support new conditional operation modes
- Add comprehensive test coverage for all new conditional secret operations including error cases and expression support

&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:5da22cd6acc7bb610627c562280556c497d57a10
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2026-07-23T11:05:51Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2026-07-23T10:23:53Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=1ce4e3eb967d04326eee21cef6ecfa6319a67dd6'/>
<id>urn:sha1:1ce4e3eb967d04326eee21cef6ecfa6319a67dd6</id>
<content type='text'>
commit_hash:4ba4a26693c83da36f04b37dacf002e9edb20dab
</content>
</entry>
<entry>
<title>yql/minikql: make TSystemMmap and TFakeMmap singletones</title>
<updated>2026-07-23T10:34:43Z</updated>
<author>
<name>makxenov</name>
<email>makxenov@yandex-team.com</email>
</author>
<published>2026-07-23T09:19:12Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=eb59c2a904e93df1919153d7e1173617ed583689'/>
<id>urn:sha1:eb59c2a904e93df1919153d7e1173617ed583689</id>
<content type='text'>
Now `TSystemMmap` and `TFakeMmap` outlive `TGlobalPools` , so `~TGlobalPools` can safely access `Munmap`.
commit_hash:fe361eb1d843ffc7b6dcd72ae1ec41242cf2398f
</content>
</entry>
<entry>
<title>Move CommonJoinCore temp values into a pinned boxed holder to fix MSan use-after-dtor</title>
<updated>2026-07-23T09:10:44Z</updated>
<author>
<name>makxenov</name>
<email>makxenov@yandex-team.com</email>
</author>
<published>2026-07-23T08:47:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f6d320d6a79c334db29b53de6e5816b690d67e6a'/>
<id>urn:sha1:f6d320d6a79c334db29b53de6e5816b690d67e6a</id>
<content type='text'>
#### Fix use-after-dtor issue in CommonJoinCore by pinning temporary values ✎

- Replaced direct usage of context mutable values with a dedicated boxed holder for temporary join state to prevent use-after-dtor errors
- Introduced a new structure to manage staging buffers for join operations, ensuring proper lifetime management
- Modified the join core to pin temporary values in a boxed context, preventing access to destroyed sibling slots during teardown
- Updated value access patterns to retrieve temporary data from the pinned boxed holder instead of direct mutable value indices
- Simplified index management by removing explicit index tracking in favor of centralized temporary value handling

&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:068515c36c3460cb53bbaaacb7c10c85f1d389dd
</content>
</entry>
</feed>
