<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/core/services, 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-14T08:48:13Z</updated>
<entry>
<title>YQL-20445: Lineage support for multi-input reduce</title>
<updated>2026-07-14T08:48:13Z</updated>
<author>
<name>maxkovalev</name>
<email>maxkovalev@yandex-team.com</email>
</author>
<published>2026-07-14T08:19:54Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=5ba7699ae4d23f8dd23d2b7c47df27898c07dcc4'/>
<id>urn:sha1:5ba7699ae4d23f8dd23d2b7c47df27898c07dcc4</id>
<content type='text'>
#### Lineage support for multi-input reduce operations ✎

- Enhanced lineage tracking to properly handle multi-input reduce operations by capturing and propagating data flow information across multiple input streams
- Extended lineage collection logic to process complex nested operations including `Mux`, `Chopper`, `Condense1`, and updated `LMap`/`OrderedLMap` handlers
- Improved schema reference handling and field lineage propagation for structured data types in reduce operations
- Added new test cases and validation to ensure correct lineage generation for multi-input reduce scenarios
- Updated lineage collection for various operators to maintain consistency and accuracy in data dependency tracking

&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:73935e78374633a17d6558ce5ba0102f911a666e
</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>YQL-21375: Add AssumeUnique and AssumeDistinct callables to Lineage</title>
<updated>2026-07-09T12:37:11Z</updated>
<author>
<name>maxkovalev</name>
<email>maxkovalev@yandex-team.com</email>
</author>
<published>2026-07-09T11:58:40Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=557f794f90a95a1e3e432b7ecedb1bc9b615a44e'/>
<id>urn:sha1:557f794f90a95a1e3e432b7ecedb1bc9b615a44e</id>
<content type='text'>
#### Add AssumeUnique and AssumeDistinct Callables to Lineage ✎

- Extend lineage tracking to include new `AssumeUnique` and `AssumeDistinct` callables, enabling more precise dependency analysis for SQL operations that assume uniqueness or distinctness of data.
- Introduce additional related callables (`AssumeUniqueHint`, `AssumeDistinctHint`, etc.) to support enhanced lineage computation for various optimization hints and constraints.
- Add comprehensive test cases and validation to ensure correct handling of these new callables in SQL-to-YQL conversion and lineage generation.

&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:42b9290cd290b6c5113fe1875fc7c215f4e0070d
</content>
</entry>
<entry>
<title>YQL-21358: Skip lineage calculation for system columns</title>
<updated>2026-07-03T13:28:42Z</updated>
<author>
<name>maxkovalev</name>
<email>maxkovalev@yandex-team.com</email>
</author>
<published>2026-07-03T12:40:09Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=884f6fd0f34672f34e071dfa8df8b02720d5715e'/>
<id>urn:sha1:884f6fd0f34672f34e071dfa8df8b02720d5715e</id>
<content type='text'>
#### Skip lineage calculation for system columns ✎

- Skip lineage computation for columns with names starting with the system prefix to avoid unnecessary processing
- Modify field access logic to conditionally handle system columns by returning empty lineage instead of processing their structure
- Update lineage merging logic to bypass system columns when building field relationships and avoid potential errors during struct item processing
- Ensure system columns are excluded from both direct field access and nested struct item handling during lineage calculation

&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:3541fea8fcc7b94954902168adbeffe9f378309d
</content>
</entry>
<entry>
<title>YQL-21358: Lineage support for CalcOverWindowGroup</title>
<updated>2026-07-01T20:46:01Z</updated>
<author>
<name>maxkovalev</name>
<email>maxkovalev@yandex-team.com</email>
</author>
<published>2026-07-01T20:15:51Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8d5335740850c4208e94b04fb82b5a7f9aa026b6'/>
<id>urn:sha1:8d5335740850c4208e94b04fb82b5a7f9aa026b6</id>
<content type='text'>
#### Lineage support for CalcOverWindowGroup ✎

- Added support for tracking lineage information in CalcOverWindowGroup operations, ensuring proper propagation of data dependencies through windowing functions
- Implemented handling for session columns in window group operations, correctly merging lineage from initialization and update handlers
- Enhanced lineage collection logic to properly process session window traits and their associated column dependencies
- Introduced new test cases covering lineage tracking for window session pushdown scenarios to validate the implementation

&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:bb0e1d37e9a97550157088c5579dc9fd1b762898
</content>
</entry>
<entry>
<title>YQL-21358: Fix lineage for empty struct</title>
<updated>2026-06-30T18:58:05Z</updated>
<author>
<name>maxkovalev</name>
<email>maxkovalev@yandex-team.com</email>
</author>
<published>2026-06-30T18:40:07Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=647cf1a052349576a097b40c8f3da67e9d9d1a96'/>
<id>urn:sha1:647cf1a052349576a097b40c8f3da67e9d9d1a96</id>
<content type='text'>
#### Lineages

flatten_list_over_udf: https://nda.ya.ru/t/dtjLiZWf7h4EfF
join_empty_struct: https://nda.ya.ru/t/a1IqkmOD7h4EfJ

#### Fix lineage handling for empty structs and flatten operations ✎

- Added safety check when accessing struct items to prevent crashes when dealing with empty structs
- Enhanced lineage tracking for flatten operations over UDFs to ensure proper field resolution
- Improved handling of empty struct cases during join operations to maintain accurate lineage information
- Introduced new test cases to validate the fix for both flatten and join operations with empty structs

&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:019667e4f4a9194ab429f5f07ed5defd305ee814
</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>YQL-20095: Enable performance-move-const-arg</title>
<updated>2026-06-24T10:13:06Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2026-06-24T08:56:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d0475a0ea7778f4cd82d00d4af324c446183dc61'/>
<id>urn:sha1:d0475a0ea7778f4cd82d00d4af324c446183dc61</id>
<content type='text'>
https://clang.llvm.org/extra/clang-tidy/checks/performance/move-const-arg.html

This check useful, as it shows, when a `std::move` is useless, so
to expectations of a programmer are not aligned with reality. The
most useful profit is to see `const T&amp;` arguments, that are
potentially can be replaced with `T`.

Also disabled `CheckTriviallyCopyableMove`,
see https://nda.ya.ru/t/Emvgx5Z67fpZY5 why.
commit_hash:c80c264a9774721aabbac85b350ccdbb8b9a39a2
</content>
</entry>
<entry>
<title>YQL-21344: Lineage support for PushdownFiltersOverWindow</title>
<updated>2026-06-24T09:35:52Z</updated>
<author>
<name>maxkovalev</name>
<email>maxkovalev@yandex-team.com</email>
</author>
<published>2026-06-24T08:19:21Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4b6fbadea674c9fceb3141a202568458f6b9ab86'/>
<id>urn:sha1:4b6fbadea674c9fceb3141a202568458f6b9ab86</id>
<content type='text'>
#### Lineage support for PushdownFiltersOverWindow optimization ✎

- Added logic to skip WinFilter nodes during lineage analysis when PushdownFiltersOverWindow optimization is enabled, ensuring accurate lineage tracking for window operations
- Introduced comprehensive test cases covering the new lineage behavior for window functions with filter pushdown optimization
- Updated test result files to include the new lineage test scenarios and their expected outputs
- Enhanced the lineage computation to properly handle window filter operations while maintaining correctness of data dependencies

&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:41388aaa9d8fdcccd3194781c992ac5de80fab17
</content>
</entry>
<entry>
<title>Use Cons! in translator instead of Nth</title>
<updated>2026-06-17T10:32:02Z</updated>
<author>
<name>udovichenko-r</name>
<email>udovichenko-r@yandex-team.com</email>
</author>
<published>2026-06-17T09:58:18Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d99b446e78afeb6e40e8d3bee4ad2ac25a2c9450'/>
<id>urn:sha1:d99b446e78afeb6e40e8d3bee4ad2ac25a2c9450</id>
<content type='text'>
commit_hash:ec28efb62da755bd372bba274c8eaa0f3f5233f3
</content>
</entry>
</feed>
