<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/core/yql_sql_combine_expander.cpp, 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-15T08:59:35Z</updated>
<entry>
<title>YQL-16277: Expand SqlCombine via LPartitionsByKeys</title>
<updated>2026-07-15T08:59:35Z</updated>
<author>
<name>imunkin</name>
<email>imunkin@yandex-team.com</email>
</author>
<published>2026-07-15T08:22:32Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=611aed68caf7223b9c0d703c89ec37216059e0a9'/>
<id>urn:sha1:611aed68caf7223b9c0d703c89ec37216059e0a9</id>
<content type='text'>
#### Expand SqlCombine via LPartitionsByKeys ✎

- Replaced `PartitionsByKeys` with `LPartitionsByKeys` to enhance the SqlCombine expansion logic
- Modified the lambda expression structure to directly use `partitionStream` parameter instead of intermediate `partitionList`, simplifying the stream processing pipeline
- Updated the chopper handler to work directly with the stream input, improving efficiency and consistency in data processing
- Adjusted canondata checksum due to structural changes in the generated query plan

&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:2b5dc46308ee7316727feefecffabfed91ebfef6
</content>
</entry>
<entry>
<title>YQL-16277: Implement ExpandSqlCombine optimizer</title>
<updated>2026-06-29T12:49:32Z</updated>
<author>
<name>imunkin</name>
<email>imunkin@yandex-team.com</email>
</author>
<published>2026-06-29T12:19:38Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=366f098f9ac9e3c55ba3901f3455957913b46340'/>
<id>urn:sha1:366f098f9ac9e3c55ba3901f3455957913b46340</id>
<content type='text'>
#### Implement SqlCombine optimizer and enhance ListJoinCore type checking ✎

- Introduce ExpandSqlCombine optimizer to handle SQL COMBINE operations, enabling efficient execution of combine operations with proper key handling and sorting
- Refactor ListJoinCore type annotation logic to use tuples instead of structs for key types, improving type safety and consistency in multi-key scenarios
- Add auxiliary constants for consistent naming of input prefixes and key members in join operations
- Update MKQL compiler and type annotation components to support the new SqlCombine expansion and improved type checking
- Enhance test coverage with new test cases for various SqlCombine scenarios including single key, multi-key, optional keys, and type mismatches
- Adjust existing tests and canonical data to reflect the changes in type handling and naming conventions

&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:376f67bfed851d0e4f7ac354d22220ba4f4737e2
</content>
</entry>
</feed>
