<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yt/yql/tests/sql/suites/materialize, 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-10T15:57:46Z</updated>
<entry>
<title>Change `MATERIALIZE` grammar to exclude `WITH` statement ambiguity</title>
<updated>2026-07-10T15:57:46Z</updated>
<author>
<name>udovichenko-r</name>
<email>udovichenko-r@yandex-team.com</email>
</author>
<published>2026-07-10T15:24:05Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bfc3e416ce63656ec74e61b20864880e741ecf20'/>
<id>urn:sha1:bfc3e416ce63656ec74e61b20864880e741ecf20</id>
<content type='text'>
#### Change MATERIALIZE grammar to exclude hints ambiguity ✎

- Restructured the MATERIALIZE statement grammar to resolve ambiguity between table hints and cluster specification by reordering clauses to place hints after the target cluster
- Updated minimum language version requirement for the MATERIALIZE feature to 2026.02
- Modified format tests and validation logic to align with the new grammar structure
- Added tests for single and multiple hints to ensure proper parsing and handling
- Updated canonical test outputs to reflect the new syntax order with hints positioned after the INTO clause and before the ON clause

&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:0dec4e34cf45e66962a8e8884c6cee893ad3dfb2
</content>
</entry>
<entry>
<title>Support PruneUnusedColumns in Materialize</title>
<updated>2026-07-10T09:30:27Z</updated>
<author>
<name>udovichenko-r</name>
<email>udovichenko-r@yandex-team.com</email>
</author>
<published>2026-07-10T08:42:49Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=c181cf9e34c6a3821de9e6d815e3f16ce243d612'/>
<id>urn:sha1:c181cf9e34c6a3821de9e6d815e3f16ce243d612</id>
<content type='text'>
#### Support PruneUnusedColumns in Materialize ✎

- Adds support for the `prune_unused_columns` setting in Materialize operations, enabling optimization to remove unused columns from materialized tables
- Extends the YtProvider to recognize and validate the new PruneUnusedColumns setting for both Materialize and Persist operations
- Implements optimizations to handle column pruning in Materialize operations, including handling ExtractMembers over Materialize cases and multi-usage scenarios
- Updates physical finalizing logic to properly handle Persist operations with PruneUnusedColumns setting
- Adds new test cases to verify the functionality of column pruning in Materialize operations with various filtering scenarios
- Modifies existing tests to reflect changes in behavior and ensure compatibility with the new optimization feature

&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:83c18981b8767ac2b789c1b1ae81aaa1ee164a92
</content>
</entry>
<entry>
<title>Support new Materialize in YT provider</title>
<updated>2026-07-03T19:55:44Z</updated>
<author>
<name>udovichenko-r</name>
<email>udovichenko-r@yandex-team.com</email>
</author>
<published>2026-07-03T19:30:07Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2672ec5d53dbb9e6e9fd2e20d92429d8b0ec455b'/>
<id>urn:sha1:2672ec5d53dbb9e6e9fd2e20d92429d8b0ec455b</id>
<content type='text'>
#### Support new Materialize in YT provider ✎

- Introduces support for the new Materialize operation in the YT provider, enabling materialization of query results into temporary tables
- Adds necessary type annotations, constraint handling, and execution logic for the Materialize operation
- Implements physical optimization rules to properly handle Materialize operations during query planning
- Includes support for persisting materialized data and integrating it with existing YT operations like Publish and Copy
- Adds comprehensive test cases covering various Materialize scenarios including basic usage, sorting preservation, and complex expressions
- Updates SQL-to-YQL conversion to properly handle Materialize statements in SQL queries

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