summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert YQL-20538: Fix format on no semicolon after a commentvitya-smirnov2026-03-022-119/+21
| | | | | That PR produced much more bad double formattings. commit_hash:b8340c9b685ea4ab790a72d98f616e1aa2d93830
* YQL-20905: Introduce YqlSelect SQL hintvitya-smirnov2026-02-2712-27/+373
| | | | commit_hash:823b4cca7fd53e39ccbd4699be3ff4e8faafad45
* YDB: Add new "json" index typevitaliff2026-02-273-1/+7
| | | | commit_hash:345d65173696cdbfbc395a124cd30bab5af650df
* YQL-20095: Enable modernize-loop-convertvitya-smirnov2026-02-278-53/+50
| | | | | | | | - https://clang.llvm.org/extra/clang-tidy/checks/modernize/loop-convert.html Semi-automatic translation was performed. Manually rewritten some types and names. commit_hash:0ad921f0d512dd4a8ccc8af557197ce6a02582e1
* YQL-10829: Improve unknown builtin error at JOIN ONvitya-smirnov2026-02-2610-34/+70
| | | | commit_hash:ccde4fad3dcddcc1698499e615504c81e642584f
* Intermediate changesrobot-piglet2026-02-261-24/+24
| | | | commit_hash:d7143d999c6383c49b3e32ea07930fde8292ce15
* YQL-20538: Fix format on no semicolon after a commentvitya-smirnov2026-02-262-21/+119
| | | | | Behavior is strange, but it is at least converges now. commit_hash:4e81b1ec46824fb7a1d65fa5132aab99634378bd
* YQL-20844: Fix inline subquery at binary/unary exprsvitya-smirnov2026-02-261-2/+18
| | | | commit_hash:8a515b5353e3ceadb9020c8f85aa2a5a1c335437
* YQL-20538: Fix format on named node line commentvitya-smirnov2026-02-262-27/+105
| | | | | | | | | The problem is that a space (`' '`) followed by a openning brace (`(`) were always unconditinally inserted, which is true when it comes just after an assignment (`'='`), but does not work correctly, when an `=` is followed by a comment, so the brace-wrapped select statement should start on a next line. commit_hash:23521a65125e41f199a6244c5501fc17c5b01b85
* Add trace_ids parameter to changefeedkseleznyov2026-02-265-0/+28
| | | | | | | | | Задача связана с работами по <https://nda.ya.ru/t/ojQZrhvH7VKBSc> Суть: Необходимо в CDC-топиках сохранять информацию о сквозной трассировке, но эта фича должна быть опциональной. Также задание связано c <https://nda.ya.ru/t/N-MMqlP17VKBfi> commit_hash:4f9d0763a4b927e83def862b7bcb6f6739f952cc
* YQL-20905: Mimic ISource by YqlSelectSubqueryRefvitya-smirnov2026-02-251-2/+16
| | | | | | | | | For a `YqlSelect` and a Legacy translator interoperability, the first should implement an `ISource` interface. The minimal thing that is required is a column passthrough. As `YqlSelect` does not supports it, it just silently accept any columns -- no diagnostics. I am not sure about a full correctness of this patch, but it made a `JOIN` and `FLATTEN BY` to work. commit_hash:f32678be89d0ae4823393e7857e81af038c04087
* YQL-20234: Hide AggPhases under the Max LangVervitya-smirnov2026-02-252-9/+21
| | | | | [Query Replay 269](https://nda.ya.ru/t/CbXE2-jO7Usc4n), queries are ignored. commit_hash:59a834f2d49f1f2a585dea477970328ab4d45ded
* Intermediate changesrobot-piglet2026-02-253-712/+707
| | | | commit_hash:266e5e4911df292222927facb2c895e60179b87e
* implement set drop default parser support KIKIMR-24829gvit2026-02-227-0/+320
| | | | | <https://github.com/ydb-platform/ydb-rfc/pull/239> commit_hash:b74e2a178f47f429e36d8bc30049862885190bd3
* YQL-20958: Pass translator flags for sql viewatarasov52026-02-203-0/+13
| | | | | Описание проблемы есть в тикете. commit_hash:61b421f6650963cb6b156498b2a19e1c4f63adc8
* YQL-20095: Enable bugprone-exception-escapeatarasov52026-02-207-0/+14
| | | | commit_hash:a511b90dbd2eadcf32cc5d75130da6c9d4efaa52
* YQL-20641: Fix Decimal(...)? optionalityvitya-smirnov2026-02-192-10/+41
| | | | | | | | | An `OptionalType` from `?` is added to an expression via the [AddOptionals](https://nda.ya.ru/t/ztuCknUL7UpGKt). It is added at `type_name_composite`, `type_name` visitors, but `Decimal` can be matches as a function call also and this the case was missed. commit_hash:e03d1a043049a3fe793ce80daf358557c2b5b70c
* YQL-20904: Support top-level UNION/INTERSECT for YqlSelectvitya-smirnov2026-02-196-113/+599
| | | | commit_hash:84045e316c8551d6b14903c1a923cb9cb75b5f69
* YQL-20768: Disallow reading tables at a pure contextvitya-smirnov2026-02-196-10/+124
| | | | | | | | | Introduce a `Pure` flag to `TTranslation`, so we track if we are in a pure computational context and should prohibit side-effectful actions. Now direct `SELECT` statements are disallowed in a pure context as it was before, but for subqueries it is allowed. We are able to allow pure `SELECT` statements in future. commit_hash:d2d1a342fb38daed7f5cc903dae3e04c14059a30
* YQL-20568: Add PRAGMA FailOnNonPersistableFlattenAndAggrExprsvitya-smirnov2026-02-194-8/+58
| | | | | | This is necessary to give users an opportunity to check whether the behavior of a query is changed. commit_hash:e6bfa8c3ee1612c05b124cb798ebf1b95449f88c
* YQL-20095: Enable modernize-avoid-c-arraysvitya-smirnov2026-02-196-6/+8
| | | | commit_hash:da491ee93c4f4d3c885c7908a22b4d5d66c80388
* Support Bloom and Bloom Ngram Syntaxxyligansereja2026-02-185-5/+150
| | | | commit_hash:0ea4c3444ce487c8746c0db1884b024ae25cb10c
* YQL-20095: Enable modernize-concat-nested-namespacesvitya-smirnov2026-02-171-8/+4
| | | | commit_hash:2c0e0389bf5eca0c8334d55143674a8acf94a88d
* Add error for explain queries for ydb/kikimr provideranely-d2026-02-171-2/+22
| | | | | | | add error for explain queries for ydb/kikimr provider issue: KIKIMR-19465 commit_hash:f41177c40e83c052f3f25149079162b287124984
* Add USER_SIDS parameter to changefeedkseleznyov2026-02-165-0/+29
| | | | | | | | | Задача связана с работами по <https://github.com/ydb-platform/ydb/issues/11405> (Необходимо в CDC-топиках сохранять информацию о пользователях и TTL-операциях) Косвенно, задание связано с commit_hash:15dfe1da2f5690ae90c8ffe2043b7f4cc27006f7
* YQL-20949: Allow trailing comma at object featuresvitya-smirnov2026-02-134-12/+25
| | | | | Also add a newline after a trailing comma. commit_hash:215a5e5e506e50e197ebf776cdcb89c9d2d0db92
* Add CPU_RATE_LIMIT option to transferkomels2026-02-122-1/+31
| | | | commit_hash:40cb6eb393596004d02463b7095207d130ac9a34
* Introduce reusable sql/v1 LangVer checkvitya-smirnov2026-02-1110-80/+103
| | | | commit_hash:e8e72e8adb7364b48d983f15eab41ed8f5ffaab3
* YQL-20937: Initialize IsUsed at YqlSubqueryNodevitya-smirnov2026-02-111-1/+1
| | | | commit_hash:0293e591a1dc0c9122ca535f8a2a3a2b80d98482
* Add ALTER TABLE COMPACT statementivannik2026-02-119-1/+165
| | | | | | | | `ALTER TABLE table_name COMPACT [WITH (CASCADE = false|true, MAX_SHARDS_IN_FLIGHT = N)];` RFC: https://nda.ya.ru/t/3sKflLJJ7U6Jyv Github Issue: https://github.com/ydb-platform/ydb/issues/33852 commit_hash:b78d125282c378a06d0f743684b13782c8849422
* YQL-20909: Set Max LangVer for PARALLEL FOR/FOR/IFvitya-smirnov2026-02-092-2/+64
| | | | | Also supported langver for negative sql2yql tests. commit_hash:71e8f8552e85804ea94b707bd1a13ad3f9bd2287
* YQL-15552 low level Yson mutation APIvvvv2026-02-063-8/+14
| | | | commit_hash:ec5dad28f927c488bf280dcdfe194a21a5243104
* rename full text builtins KIKIMR-24729gvit2026-02-061-2/+2
| | | | commit_hash:9f6aa8cee8c4ddd36389bca14a121eec94bde2e0
* Intermediate changesrobot-piglet2026-02-061-9/+46
| | | | commit_hash:c1acbb89857acf40764b131b015b4be9bafd0aee
* YQL-20723: Expect a failing SubstParametersvitya-smirnov2026-02-052-2/+21
| | | | commit_hash:ccc458058e877b3f908c576e2887d8474ab27043
* YQL-20095: Enable misc-use-anonymous-namespacevitya-smirnov2026-02-057-76/+112
| | | | | - https://clang.llvm.org/extra/clang-tidy/checks/misc/use-anonymous-namespace.html commit_hash:746be9b9db256111b2fb6ab4d89844746deebcda
* YQL-20917: Check inline subquery LangVer at DoInitvitya-smirnov2026-02-055-37/+55
| | | | | | | | | | Previously, a "bad tree" with a pure `ISource` instead of the expression `INode` got into the named expression. Since the named expression was not used, the `Translate` was not performed and there was no panic. But recently it was fixed, but the `LangVer` started to be checked on `INode` tree contruction, so it breaks backward compatibility. This is why I postpone this check to the `DoInit` translation stage. commit_hash:b68c83b499391dc629bde8eeef262a696a006355
* YQL-20777: Fix a panic on a bad JSON QUERYvitya-smirnov2026-02-053-3/+17
| | | | | Also improved a bad string literal error message. commit_hash:1aec8080d67c12fb577d103ba716007ed8ec860a
* Transfer metrics - supports numeralskomels2026-02-042-11/+39
| | | | commit_hash:5495bdc73d12a32c61bdcae68eddd5513f88df2e
* YQL-20844: Fix scalar subquery at binop argumentvitya-smirnov2026-02-042-1/+6
| | | | commit_hash:873fb751890293cb5a436cf3529f9918ff2fadd1
* YQL-20677: Make YQL errors less Yandex-specificvitya-smirnov2026-02-035-4/+15
| | | | commit_hash:84d373ebaccef20525c1267ff2fc927761ca6061
* Make COLLATE an errorvitya-smirnov2026-02-031-1/+1
| | | | commit_hash:a24f4630786849c83fd4677a934c81a55eb9b3a8
* YQL-20677: Expect a scalar subquery at a receivervitya-smirnov2026-02-032-5/+38
| | | | commit_hash:05eb23bb0fd57c084ce25a643a0b801042dbab8b
* YQL-19531: Derive List common source namevitya-smirnov2026-02-032-0/+5
| | | | commit_hash:3672bc14ab1a4adfd8029925123fcfa71e3a3856
* YQL for shared consumerstesseract2026-02-033-31/+162
| | | | | Тесты и пр. логика <https://github.com/ydb-platform/ydb/pull/33060> commit_hash:7fabe9caa5452604ce32c7ada395fff0c59b5a3f
* YQL-20888: Fix badly recursive window dependencyvitya-smirnov2026-02-033-9/+35
| | | | | | | | Fixes a stack overflow on a queries containing `Rank() OVER (... ORDER BY Rank())`. The defect is that `OVER`s `ORDER BY` expression was not validated properly, what led to indirectly recursive dependency of `ORDER BY`s `Rank` on itself, because current source for it actually contained an `OVER` clause. commit_hash:bf529c9c8720958fb079bd96f34f83437cc48193
* YQL-20720: Expect no cluster at CREATE OBJECTvitya-smirnov2026-02-033-1/+17
| | | | commit_hash:a54596424dd515536c18288647b6d85865ad4991
* YQL-20095: Enable misc-redundant-expressionvitya-smirnov2026-02-021-1/+1
| | | | | - https://clang.llvm.org/extra/clang-tidy/checks/misc/redundant-expression.html commit_hash:eb365e8e841251ac378b8dbb0d0f9456c8b52361
* YQL-20868: separate typecheck at fastchecklukashevich842026-02-025-22/+74
| | | | commit_hash:4c9fb69c69ca016d87b38a1effc2f3ec3d4a0ecb
* YQL-20095: Enable misc-definitions-in-headersvitya-smirnov2026-01-302-3/+7
| | | | | | | | - https://clang.llvm.org/extra/clang-tidy/checks/misc/definitions-in-headers.html Just applied auto-fix. Maybe it is worth to manually move functions to `.cpp` files, but I was too lazy. I will do it, if you wish. commit_hash:6ba1b2f014eb1f25dede1299f073e33d823b4ddf