<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/yql/essentials/tests/sql/sql2yql, branch oidc-1.2.2</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.2</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.2'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-07-10T19:44:51Z</updated>
<entry>
<title>YQL-20121 fix</title>
<updated>2025-07-10T19:44:51Z</updated>
<author>
<name>vvvv</name>
<email>vvvv@yandex-team.com</email>
</author>
<published>2025-07-10T19:26:35Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=612146bc655489da23249308c666ca9eb2ef6509'/>
<id>urn:sha1:612146bc655489da23249308c666ca9eb2ef6509</id>
<content type='text'>
commit_hash:f5827e9ccc7926e7d8a7ed8040c3d3427b8ef592
</content>
</entry>
<entry>
<title>YQL-19896 allow onlyKeys=true in FilterPushdownOverJoinOptionalSide</title>
<updated>2025-07-10T11:24:32Z</updated>
<author>
<name>lucius</name>
<email>lucius@yandex-team.com</email>
</author>
<published>2025-07-10T11:08:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b21ba11dd54a6d80cabdde4beebff2dc3a1373e6'/>
<id>urn:sha1:b21ba11dd54a6d80cabdde4beebff2dc3a1373e6</id>
<content type='text'>
Сейчас FilterPushdownOverJoinOptionalSide не работает если в предикате используются только колонки из ключа джоина — причин так делать нет, исправляю (под флагом временно чтобы канонизировать тесты ydb)
commit_hash:93aa956e4460d95e9e8592595de5e8a77027786b
</content>
</entry>
<entry>
<title>YQL-20167 canonized short key content</title>
<updated>2025-07-10T08:53:04Z</updated>
<author>
<name>vvvv</name>
<email>vvvv@yandex-team.com</email>
</author>
<published>2025-07-10T08:23:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3e5611588ec6c4c4eece19ee2c2578e82239b267'/>
<id>urn:sha1:3e5611588ec6c4c4eece19ee2c2578e82239b267</id>
<content type='text'>
commit_hash:0cc244f5272c4bc099db5bf8fb56566a11391158
</content>
</entry>
<entry>
<title>YQL-20170 fix</title>
<updated>2025-07-09T15:32:11Z</updated>
<author>
<name>vvvv</name>
<email>vvvv@yandex-team.com</email>
</author>
<published>2025-07-09T15:03:13Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=59eaaf5193a1347f972abb86db302ca176dc8ce1'/>
<id>urn:sha1:59eaaf5193a1347f972abb86db302ca176dc8ce1</id>
<content type='text'>
commit_hash:2c408c6ee755878a488f1591510d196d1bf5fba1
</content>
</entry>
<entry>
<title>YQL-17269: Support UNION/INTERSECT/EXCEPT combinations</title>
<updated>2025-07-09T11:38:43Z</updated>
<author>
<name>vitya-smirnov</name>
<email>vitya-smirnov@yandex-team.com</email>
</author>
<published>2025-07-09T11:16:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=59c3167c208900bb714ff5cc477476e3ab14f4f0'/>
<id>urn:sha1:59c3167c208900bb714ff5cc477476e3ab14f4f0</id>
<content type='text'>
Introduce `UNION` and `INTERSECT/EXCEPT` grammar rules
for precedence. Rewrote `Build` procedure into `BuildStmt`,
`BuildUnion`, `BuildIntersection`. Added tests, modify format.

It took a lot of time trying to adapt the existing `Build` procedure.
The I noticed that the logic for `union` and `intersection` is
different, since `union` groups arguments into bundles, but
`intersection` is a strictly binary operation.
commit_hash:70008ae3c2603364b6dfbeeb189fdc7f5237433d
</content>
</entry>
<entry>
<title>Fix pruneKeys over flatMap</title>
<updated>2025-07-08T20:53:11Z</updated>
<author>
<name>mpereskokova</name>
<email>mpereskokova@yandex-team.com</email>
</author>
<published>2025-07-08T20:35:46Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f979375c0346ff1acee7005d4c0d22d954d4dfa3'/>
<id>urn:sha1:f979375c0346ff1acee7005d4c0d22d954d4dfa3</id>
<content type='text'>
commit_hash:cff54a61ed3e2bccb0914d089c0e3d1f33931449
</content>
</entry>
<entry>
<title>YQL-19536: Block ifpresent</title>
<updated>2025-07-08T05:39:34Z</updated>
<author>
<name>atarasov5</name>
<email>atarasov5@yandex-team.com</email>
</author>
<published>2025-07-08T05:22:31Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9ea5796fb72dfc72db92cc205a6ef5b9099dfbe0'/>
<id>urn:sha1:9ea5796fb72dfc72db92cc205a6ef5b9099dfbe0</id>
<content type='text'>
commit_hash:15146ac1817e0abc0483b2c138207daf3b63fdd5
</content>
</entry>
<entry>
<title>YQL-20153 params fixes</title>
<updated>2025-07-04T13:48:49Z</updated>
<author>
<name>vvvv</name>
<email>vvvv@yandex-team.com</email>
</author>
<published>2025-07-04T13:00:25Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6eff12e93b9d1e93fa333d7b05b4c9336e804c40'/>
<id>urn:sha1:6eff12e93b9d1e93fa333d7b05b4c9336e804c40</id>
<content type='text'>
commit_hash:6a71bff1ad52eddd1b8c7d516f0810f0decf401e
</content>
</entry>
<entry>
<title>YQL-20085: fix FilterPushdownOverJoinOptionalSide</title>
<updated>2025-07-04T07:47:46Z</updated>
<author>
<name>lucius</name>
<email>lucius@yandex-team.com</email>
</author>
<published>2025-07-04T07:22:12Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=94d6d80a1937f3cf2817a2a1d7e04b28eaa7565f'/>
<id>urn:sha1:94d6d80a1937f3cf2817a2a1d7e04b28eaa7565f</id>
<content type='text'>
Тут чинятся 2 проблемы:

1) Rename settings во вложенных джоинах после преобразования не позволяли применить пропушенный предикат, что-нибудь типа "Unknown table name:… Failed to parse labels of struct…"
2) Если до пушдауна типизатор вывел distinct у джоина, а мы его заменили на union all, то типизатор не мог доказать что distinct сохранился и падал. Типизатор править не стали, решили через KeepUniqueDistinct.

Обе проблемы немного по-разному проявляются и чинятся в двух случаях:

1) Делаем пушдаун в инпут из последнего джоина (верхний/корневой в дереве) — исходный джоин заменяется на union all из двух джоинов

2) Пушдаун в инпут НЕ из последнего джоина (НЕ верхний/корневой в дереве) — union all появляется внутри "исходного" джоина
commit_hash:cc7cfbb973bc7dcabba202ab9a637c3b9f1cb5dd
</content>
</entry>
<entry>
<title>YQL-20126 fix</title>
<updated>2025-07-04T07:36:01Z</updated>
<author>
<name>vvvv</name>
<email>vvvv@yandex-team.com</email>
</author>
<published>2025-07-04T07:20:32Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=dba0afc5ce7049668d44c6f5cb1bd0fd5a7fbc63'/>
<id>urn:sha1:dba0afc5ce7049668d44c6f5cb1bd0fd5a7fbc63</id>
<content type='text'>
commit_hash:9a7d4b30d4dd2a5d2fa2d9bd9e34c5153196d288
</content>
</entry>
</feed>
