summaryrefslogtreecommitdiffstats
path: root/yt/yql/tests
Commit message (Collapse)AuthorAgeFilesLines
* Support hopping aggregatengc2247 days12-0/+406
| | | | commit_hash:77d63c26b13279f8fb8f0766b96c1e9927b003d2
* Fix PhysicalOptimizer-BypassMerge with renamesaneporada10 days4-0/+32
| | | | commit_hash:6da2328040bde7b749135e00eee72eabe2459628
* fail for DqEngine=force + _EnableDq=falselucius10 days5-0/+26
| | | | commit_hash:0d6edfa6c712505097baabd310ab37257dabadc2
* Intermediate changesrobot-piglet11 days6-0/+97
| | | | commit_hash:9e9ca285c1de7767d1a2adf468f5fbb2e795d567
* YQL-21321 deep error check for EnsurePersistablevvvv13 days2-0/+27
| | | | | | | | | | | | #### Deep error checking for EnsurePersistable ✎ - Replaced shallow error checking with comprehensive error detection in `EnsurePersistable` functions to ensure all type annotation errors are properly identified - Introduced new `HasAnyError` function that performs thorough error traversal to catch nested or indirect type errors - Updated test cases to verify error handling behavior and ensure proper error reporting for incompatible types in SQL operations - Enhanced type annotation validation to provide more reliable persistence checks for expression nodes <a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a> commit_hash:019e5924e7d6bdfea7fa46be3da3615b17727b76
* Support expression columns in yt ytflow integrationartemmashin2026-06-154-0/+66
| | | | commit_hash:30faf29422bcdfc3b92d66e52daa084b7bedffa3
* YQL-21277: Fix missed world depencencymaxkovalev2026-06-152-0/+35
| | | | commit_hash:4c8d193892a9e3cf817933032b4d0d51f9b8fb78
* Fix fusing two CalcOverWindow with ExtractMembers in-betweenaneporada2026-06-124-0/+54
| | | | commit_hash:ec04ae964cc2923fe432b2bf75d339459452065a
* join ql filters in jorizontal joins + drop ql filters in some optimizerslucius2026-06-094-0/+73
| | | | | | | Было: разные Ranges и QLFilter блокируют горизонтальную склейку. Будет: разные Ranges все также блокируют горизонтальную склейку, а разные QLFilters объединяются через OR или выкидываются (это безопасно потому что QLFilter никогда исходную лямбду не меняет). commit_hash:c6a7f7baadaa3461b50ce42a0fe4a28767923e7a
* Add support for complex graphs with multiple flow mapsartemmashin2026-06-0810-0/+215
| | | | commit_hash:c8762b0e574dbeca45f673575d0d5f3d9021adc0
* YQL-21291: Add Math transformation to Lineagemaxkovalev2026-06-052-0/+21
| | | | | Lineage для Math теста: https://nda.ya.ru/t/1srEqNWh7ePvpE commit_hash:4f0c162b8eae10afb6a21fc80e9c706600b4618b
* Intermediate changesrobot-piglet2026-06-0411-0/+11
| | | | commit_hash:be6825a7a90ef4dfb231cc386a31b85522599e52
* Intermediate changesrobot-piglet2026-06-011-3/+0
| | | | commit_hash:e9445d0967ee38f6ab7917c3a85aa5188f04dec1
* YQL-21152: Unblock JOIN with ASTERISK at YqlSelectvitya-smirnov2026-05-2210-10/+0
| | | | | | Just unblocked the JOIN with ASTERISK and canonized TPC-DS. In the next PRs will fix corner cases, that do not break TPC-DS. commit_hash:063fc227059058190680d051d37010871503976d
* Star join hintziganshinmr2026-05-226-0/+126
| | | | commit_hash:fa4ab7ff3f658124d480c420a62a7ebf8922dad6
* Intermediate changesrobot-piglet2026-05-201-1/+1
| | | | commit_hash:3452c586717e57c99f4544e16d38beaa9b82c405
* Intermediate changesrobot-piglet2026-05-194-0/+64
| | | | commit_hash:776cd37ba05fd4d206ebf47b2a3bb2323bb32c51
* Intermediate changesrobot-piglet2026-05-188-0/+182
| | | | commit_hash:dbb5c921d624b1b015f0578d1ce107d53c492906
* YQL-20998: Fix input tables for inline subqueryvitya-smirnov2026-05-154-12/+0
| | | | | | Canonize YQL-20998: Fix input tables for scalar subqueries commit_hash:185ac3b4a39bfdf1f30015234b43d0ac50c087e4
* YQL-21240: Fix incorrect indices in Lineage for multiple readsmaxkovalev2026-05-152-0/+16
| | | | | Lineage for test: <https://nda.ya.ru/t/4yOC6uGA7cKyGm> commit_hash:dcc7ae1298216c99f29c9901764a4a8e966b592e
* Fix YQL native YT type flags - revertziganshinmr2026-05-135-72/+0
| | | | commit_hash:fe3d6f4ff2b9f8f5441026ca53f095eae9f6cca3
* YQL-21210 new lang vervvvv2026-05-072-2/+2
| | | | commit_hash:23ab69eb08e7c8f74df14dfc43e6109479b8dd15
* YQL-21136: Fix AvgIf(Interval64) result typevitya-smirnov2026-05-061-1/+2
| | | | commit_hash:13889e43b6156f11945dcee2ab2b59cdb056ce49
* Intermediate changesrobot-piglet2026-05-058-86/+60
| | | | commit_hash:a876b0522ba7aa9c9d4af22e749605f0a57343c2
* Fix YT native types handling for aux columns - 2ziganshinmr2026-05-011-0/+5
| | | | | | - Handle NativeYtTypeFlags change at YtSort boundary - Write correct YT native types for aux columns (with respect to yt.NativeYtTypeCompatibility) commit_hash:2ff59306ebb079bb1496187b93bc1c3ab8c55665
* YQL-20928: Fix RIGHT JOIN for YqlSelectvitya-smirnov2026-04-304-4/+0
| | | | | | | | | | Support `FULL JOIN` and fix `RIGHT JOIN` for `YqlSelect`. The problem with `RIGHT JOIN` is that in a situation, when we have `[a, b, c, d, e]` on a stack and are going to "perform" `right`, all of `[a, b, c, d, e]` are marked optional, because the `inputIndex` is equal to stack size. But we must mark only `[a, b, c, d]` as optionals. commit_hash:b78c5bcecba4b736475d3428918c2a3c377373bb
* YQL-20928: Support SELECT DISTINCT for YqlSelectvitya-smirnov2026-04-3010-16/+6
| | | | commit_hash:af4c180548bf1699ec6afb335167a4220418386c
* YQL-21186: Improve SqlIn handling in Lineagemaxkovalev2026-04-292-0/+28
| | | | | Lineage for test: <https://nda.ya.ru/t/eyPxnts97arqpX> commit_hash:05f4cab49712a402ce1353f385b238faab4b3043
* YQL-20928: Fix YqlSelect table ref default aliasvitya-smirnov2026-04-2921-63/+1
| | | | | | | There was an issue is that an alias for a table ref was not set and defaulted to an autogenerated name, so SqlSelect could not reference it. It gives +10 TPC-DS queries. commit_hash:2b2d7c4a5242eeb8f2cccf3ac55be8bf6e59850e
* YQL-19813: Pass runtime settings to minikql + YT + minirunatarasov52026-04-294-0/+19
| | | | commit_hash:054395f57e37951159c1184eae2e6d4bc81245f8
* YQL-21048: Support Grouping function at YqlSelectvitya-smirnov2026-04-288-8/+0
| | | | | | Now `Grouping` function kindly works, but with some known bug, that will be fixed in the next PR. It gives 4 TPC-DS queries. commit_hash:e891401453cbd9d9d964f673053b856e55ea8b56
* YQL-21046: Support window functions for YqlSelectvitya-smirnov2026-04-2813-33/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for `RowNumber`, `CumeDist`, `NTile`, `Rank`, `DenseRank`, `PercentRank`, `Lead`, `Lag`, `FirstValue`, `LastValue` and `NthValue`. It gives +3 TPC-DS queries and +5 TPC-DS bugs unlocked. The callable `YqlWin` was introduces, having the following form: ```yqls (YqlWin 'function_name 'window_name '() # options (Void) # type slot ...) # args ``` During the callable type annotation and expansion the same code for implementation functions substitution is used and shared even with a pgSQL. There was an issue with a `listType` for `YqlAgg`, `YqlAggWin` and `YqlWin`, because it was built incorrectly by referencing an atom "row" instead of _that_ argument row. It is fixed with a new "type slot". Now it has 3 states: `(Void)`, which is set by translator just as a stub, `row` that is set by `YqlSetItemWrapper` during the `RebuildLambdaColumns`, so then on the `YqlWin` type annotation it can take this `row` and wrap it to the `listType`, pass to the function and call for a repetition, so in a next stage the `resultType` will be ready. commit_hash:256fc2cb359714a646a308359b340b1715919f5d
* YQL-21193: Revert SqlIn fixmaxkovalev2026-04-281-4/+0
| | | | commit_hash:01dcff52d203739de058af6c5671af0a4e37f06c
* YQL-21186: Improve SqlIn support in Lineagemaxkovalev2026-04-241-0/+4
| | | | | | | | | | | | | | | | | Lineage in the added test: ``` "Lineage" = { "key_filtered" = [ { "Input" = 1; "Field" = "key"; "Transforms" = # } ] } ``` commit_hash:5683541e0408a82bdf17b1c39e85f2aec1aab282
* Fix row_number() over () for RLS tablesaneporada2026-04-242-0/+7
| | | | commit_hash:bab9209e214501e0c3b701d2f7a2a78fd0b079fd
* Fix YQL native YT type flagsziganshinmr2026-04-234-0/+67
| | | | | | | | | | | | | | Пытаюсь исправить работу native type flags: - Исправления в TYqlRowSpecInfo: * При создании новых таблиц (SetType) - сразу выставляем нужные флаги согласно типу вместо усечения NTCF\_ALL на поздних этапах * Сделал прагму NativeYtTypeCompatibility static per cluster * При чтении \_yql\_row\_spec существующих таблиц - игнорируем записанное значение флагов, вместо этого выводим его из нативной схемы - Пишем правильные флаги \_yql\_row\_spec выходных таблиц (в зависимости от текущих NativeYtTypeCompatibility) - Обновил логику в оптимизаторах насчет выравнивания флагов - Убрал использование NTCF\_VOID и NTCF\_NULL для консистентности чтения/записи флагов (они и так всегда native, при чтении старый формат распознается) - Исправил Skiff схему для этих типов для соответствия поведению кодека (раньше каким-то чудом не стреляло) commit_hash:4a744866861591f9ba4a92c515cf33cfb88fb0a8
* Intermediate changesrobot-piglet2026-04-212-0/+0
| | | | commit_hash:d1896919472b481cbe5583a8de232a9dbe386238
* YQL-21169: Fix case with empty lineage sectionmaxkovalev2026-04-202-0/+8
| | | | commit_hash:e8f4d240978b22a64897e35b56ce6e4d01f97402
* YQL-21046: Support window aggregation over YqlSelectvitya-smirnov2026-04-2021-32/+26
| | | | | | | | | Introduce `YqlAggWin` callable and adapt `PgWindow` as `YqlWindow`. The `YqlAggWin` is similar to `YqlAgg`, but with window reference (name) included. Moved `PgWindowWrapper` to `SqlWindowWrapper`. It gives +6 TPC-DS test cases. Window functions are not yet supported, because they have separate callables and an extra design is required. commit_hash:ccef4463fd994779da21514dc9f6f596c511bbfe
* YQL-20810: New lineage formatmaxkovalev2026-04-1728-0/+124
| | | | commit_hash:2f752d8d575fe0f6b939cbc9805f2f266493234e
* Use map for desc sortmpereskokova2026-04-084-0/+80
| | | | commit_hash:37443bdea50149aa1414de64d2554c177bca1eab
* Intermediate changesrobot-piglet2026-04-031-2490/+2490
| | | | commit_hash:1a9858c4caff638e3a5f94af11b8b3613e8484b9
* YQL-21048: Support GROUPING SETS for YqlSelectvitya-smirnov2026-03-3019-56/+55
| | | | | | | | | | | | | | | | | | This patch unlocks a subset of `GROUPING SETS`, `ROLLUP` and `CUBE` syntax for `YqlSelect`. The `sql` was easy, but I faced problems at the `core` level. An existing expansion was OK, but type annotation was changed to correctly annotate `GROUP BY` keys as `Optional`. ```haskell notNullKeys groupBy = union [ ( intersection [ groupingSet | groupingSet in groupingSets ] ) | groupingSets in groupBy ] ``` It gives 60/100 (+9) TPC-DS queries. commit_hash:defda3152f10bf16b9e6300294bc23cccfa1329c
* Fix ranges on old desc sort tablesmpereskokova2026-03-274-0/+59
| | | | commit_hash:55f73f1521de86d8336840d550014564542fa5bf
* YQL-21093 USE yt:defaultvvvv2026-03-261-0/+8
| | | | commit_hash:6c9b7849a93a8b29fba71be8e024ca93a83ad5be
* YQL-21045: Check output_columns in Aggregatemaxkovalev2026-03-241-0/+5
| | | | commit_hash:f2344ead4e70b69a0ec3988914b4ba4c07573828
* YQL-20928: Fix YqlSelect quoted atoms and unsupported messagevitya-smirnov2026-03-1922-77/+12
| | | | | | | | | | | | | | This PR "unmutes" some TPC-DS queries. There was 2 defect kinds fixed: 1. Other than ordinary `GROUP BY` variants were actually unsupported, but not checked by an implementation. 2. Just `Q(TString)` was used to make quoted atoms, but it is not generally correct, because it does not wrap the arbitrary content and so `QUOTED_ID`s with spaces made a ill-formed YQLs. The second defect fix gave us +5 successfully compilable queries. commit_hash:10891b4cfc19872c8bb4b0765de2efae26797693
* Cherry pick YQL-20998: Emit Reads only on EXISTSvitya-smirnov2026-03-185-1/+13
| | | | | Return that commit, because the problem, why [Rollback: rXXXXXX](https://nda.ya.ru/t/trCMW4CN7X4Gwb) was initiated was not in that commit, but other problem - see [a comment](https://nda.ya.ru/t/r31wHW2u7X4HUs). commit_hash:bb553ac4b3ab46e326e6fbb8e811d80efdda8aba
* support bool, float, double, string, utf8 types in QLFilterlucius2026-03-1714-0/+81
| | | | commit_hash:d10010099bd31e5f5c430dd96f120e2932a4ba4f
* Rollback: rXXXXXXrobot-srch-releaser2026-03-175-13/+1
| | | | | | | | | | | | | | | | | | | | | | | [diff-resolver:vitya-smirnov] SKIP_REVIEW SKIP_CHECK __BYPASS_CHECKS__ > ................................................................. > INCLUDE: rXXXXXX | vitya-smirnov@ | 2026-03-17T04:41:04Z > > YQL-20998: Emit Reads only on EXISTS > > Because the previous patch "YQL-20998: Remove EmitReadsForExists" > makes a test red, temporarily reverting it. > > - YQL-21020 > > REVIEW: 12369245 > Sandbox task: https://nda.ya.ru/t/2GCU64Ag7WyZMX Task author: achugunov@ Commit was made by robot-srch-releaser@, but committer is achugunov@ Description: Rollback rXXXXXX due to broken tests commit_hash:e3056a3b46b5418ffaf2b78805b6c1389ab6174f