| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
commit_hash:77d63c26b13279f8fb8f0766b96c1e9927b003d2
|
| |
|
|
| |
commit_hash:6da2328040bde7b749135e00eee72eabe2459628
|
| |
|
|
| |
commit_hash:0d6edfa6c712505097baabd310ab37257dabadc2
|
| |
|
|
| |
commit_hash:9e9ca285c1de7767d1a2adf468f5fbb2e795d567
|
| |
|
|
|
|
|
|
|
|
|
|
| |
#### 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
|
| |
|
|
| |
commit_hash:30faf29422bcdfc3b92d66e52daa084b7bedffa3
|
| |
|
|
| |
commit_hash:4c8d193892a9e3cf817933032b4d0d51f9b8fb78
|
| |
|
|
| |
commit_hash:ec04ae964cc2923fe432b2bf75d339459452065a
|
| |
|
|
|
|
|
| |
Было: разные Ranges и QLFilter блокируют горизонтальную склейку.
Будет: разные Ranges все также блокируют горизонтальную склейку, а разные QLFilters объединяются через OR или выкидываются (это безопасно потому что QLFilter никогда исходную лямбду не меняет).
commit_hash:c6a7f7baadaa3461b50ce42a0fe4a28767923e7a
|
| |
|
|
| |
commit_hash:c8762b0e574dbeca45f673575d0d5f3d9021adc0
|
| |
|
|
|
| |
Lineage для Math теста: https://nda.ya.ru/t/1srEqNWh7ePvpE
commit_hash:4f0c162b8eae10afb6a21fc80e9c706600b4618b
|
| |
|
|
| |
commit_hash:be6825a7a90ef4dfb231cc386a31b85522599e52
|
| |
|
|
| |
commit_hash:e9445d0967ee38f6ab7917c3a85aa5188f04dec1
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:fa4ab7ff3f658124d480c420a62a7ebf8922dad6
|
| |
|
|
| |
commit_hash:3452c586717e57c99f4544e16d38beaa9b82c405
|
| |
|
|
| |
commit_hash:776cd37ba05fd4d206ebf47b2a3bb2323bb32c51
|
| |
|
|
| |
commit_hash:dbb5c921d624b1b015f0578d1ce107d53c492906
|
| |
|
|
|
|
| |
Canonize
YQL-20998: Fix input tables for scalar subqueries
commit_hash:185ac3b4a39bfdf1f30015234b43d0ac50c087e4
|
| |
|
|
|
| |
Lineage for test: <https://nda.ya.ru/t/4yOC6uGA7cKyGm>
commit_hash:dcc7ae1298216c99f29c9901764a4a8e966b592e
|
| |
|
|
| |
commit_hash:fe3d6f4ff2b9f8f5441026ca53f095eae9f6cca3
|
| |
|
|
| |
commit_hash:23ab69eb08e7c8f74df14dfc43e6109479b8dd15
|
| |
|
|
| |
commit_hash:13889e43b6156f11945dcee2ab2b59cdb056ce49
|
| |
|
|
| |
commit_hash:a876b0522ba7aa9c9d4af22e749605f0a57343c2
|
| |
|
|
|
|
| |
- Handle NativeYtTypeFlags change at YtSort boundary
- Write correct YT native types for aux columns (with respect to yt.NativeYtTypeCompatibility)
commit_hash:2ff59306ebb079bb1496187b93bc1c3ab8c55665
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:af4c180548bf1699ec6afb335167a4220418386c
|
| |
|
|
|
| |
Lineage for test: <https://nda.ya.ru/t/eyPxnts97arqpX>
commit_hash:05f4cab49712a402ce1353f385b238faab4b3043
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:054395f57e37951159c1184eae2e6d4bc81245f8
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:01dcff52d203739de058af6c5671af0a4e37f06c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lineage in the added test:
```
"Lineage" = {
"key_filtered" = [
{
"Input" = 1;
"Field" = "key";
"Transforms" = #
}
]
}
```
commit_hash:5683541e0408a82bdf17b1c39e85f2aec1aab282
|
| |
|
|
| |
commit_hash:bab9209e214501e0c3b701d2f7a2a78fd0b079fd
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Пытаюсь исправить работу 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
|
| |
|
|
| |
commit_hash:d1896919472b481cbe5583a8de232a9dbe386238
|
| |
|
|
| |
commit_hash:e8f4d240978b22a64897e35b56ce6e4d01f97402
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:2f752d8d575fe0f6b939cbc9805f2f266493234e
|
| |
|
|
| |
commit_hash:37443bdea50149aa1414de64d2554c177bca1eab
|
| |
|
|
| |
commit_hash:1a9858c4caff638e3a5f94af11b8b3613e8484b9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:55f73f1521de86d8336840d550014564542fa5bf
|
| |
|
|
| |
commit_hash:6c9b7849a93a8b29fba71be8e024ca93a83ad5be
|
| |
|
|
| |
commit_hash:f2344ead4e70b69a0ec3988914b4ba4c07573828
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:d10010099bd31e5f5c430dd96f120e2932a4ba4f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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
|