summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql
Commit message (Collapse)AuthorAgeFilesLines
...
* YQL-21259 Allow Tables() function only in purecalcvvvv2026-05-263-0/+12
| | | | commit_hash:61e5b35c11bc86c4063b8ab5e1abec62e00637f0
* YQL-21152: Unblock JOIN with ASTERISK at YqlSelectvitya-smirnov2026-05-222-21/+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
* YQL-21046: Support RANGE window on YqlSelectvitya-smirnov2026-05-221-0/+34
| | | | commit_hash:2cb369cb2091489e28790782fe9e7679d367fbb3
* YQL-20095: Apply modernize-use-nodiscard at sqlvitya-smirnov2026-05-2217-52/+52
| | | | commit_hash:16513c3f8da40e92c22e497694140f1c1584fb3f
* Star join hintziganshinmr2026-05-223-1/+6
| | | | commit_hash:fa4ab7ff3f658124d480c420a62a7ebf8922dad6
* YQL-21231: Fix inline subquery at unary_subexpr_suffixvitya-smirnov2026-05-222-9/+18
| | | | commit_hash:81ad94a8353c2771e176d03e690b1422f3f8121a
* YQL-21231: Fix typovitya-smirnov2026-05-221-1/+1
| | | | commit_hash:408dc4aaec7ac23f50aeb22324b62138b3cc02b3
* YQL-21230: Expect TooManyErrors on Build phasevitya-smirnov2026-05-223-4/+39
| | | | commit_hash:b8159521e56b0a3c6d8ea6597a2de898bc13778e
* WATERMARKS: YQL: Introduce WATERMARK = exprvokayndzop2026-05-194-54/+216
| | | | | Introduce `WATERMARK = expr` in arbitrary place in the query commit_hash:3ac51a6e2b9f8e4079d1e3fd2e37fa8217582598
* YQL-20234: Support Percentile agg phasesvitya-smirnov2026-05-181-6/+26
| | | | commit_hash:617264515b5da826be1327cb91b7fc6f6801a835
* YQL-21046: Respect AnsiCurrentRow only on ordered windowvitya-smirnov2026-05-182-1/+33
| | | | commit_hash:4b9cf4d3a0b96523e7d66cb7a0ef308b48333e93
* YQL-19747: Do not suggest lhs on rhs of assignmentvitya-smirnov2026-05-182-2/+12
| | | | commit_hash:219fd39fdf18274a37159c9ceb640dd82357f493
* Fix WATERMARK syntax ambiguityvitya-smirnov2026-05-183-4/+10
| | | | | | | Removed `WATERMARK` from the `keyword_compat`, because it is just a base building block for `keyword_xxx_compat`, where `keyword_hint_uncompat` is used, but where the `WATERMARK` keyword was absent, so I added it there. commit_hash:fecdd83152561b079d4bc9cb898d4702aad32a37
* YQL-20998: Fix input tables for inline subqueryvitya-smirnov2026-05-152-3/+127
| | | | | | Canonize YQL-20998: Fix input tables for scalar subqueries commit_hash:185ac3b4a39bfdf1f30015234b43d0ac50c087e4
* YQL-20095: Enable readability-static-definition-in-anonymous-namespacevitya-smirnov2026-05-152-2/+2
| | | | commit_hash:f7485dac5115e73f75a5edccb3c65c0b657dd8e5
* YQL-20095: Enable modernize-use-emplacevitya-smirnov2026-05-132-7/+7
| | | | commit_hash:4d6e2f6fcc1639f09725c0c96de8d2f7f0f70404
* YQL-16277: Implement frontend for COMBINE commandimunkin2026-05-1312-16/+634
| | | | commit_hash:5a7847c000c3e5ec4cadf6880184d3eebb26d3b1
* YQL-20234: Support RandomValue agg phasesvitya-smirnov2026-05-131-7/+60
| | | | commit_hash:934d9bd00af5903f26796cf610789aaa4a7bf39c
* Enable window new pipeline by defaultatarasov52026-05-082-3/+3
| | | | | | | Canonize more tests Canonize -F "*window*" -F "*tpcds*" tests Enable window new pipeline by default commit_hash:6b5900972f1d065c6956e7ee03e734a80e0c6fa5
* YQL-21210 new lang vervvvv2026-05-071-4/+4
| | | | commit_hash:23ab69eb08e7c8f74df14dfc43e6109479b8dd15
* YQL-20095: Enable readability-simplify-boolean-exprvitya-smirnov2026-05-079-90/+22
| | | | commit_hash:b3d7609795f9aeaaafe9cb65dbb2c6460582a4ec
* YQL-20095: Enable readability-uppercase-literal-suffixvitya-smirnov2026-05-073-7/+7
| | | | commit_hash:41791bb9a63f1993010fb68562e9a5607927307d
* YQL-20095: Enable readability-redundant-declarationvitya-smirnov2026-05-061-1/+1
| | | | commit_hash:612218f06b374c861f13d507fff7197436c9731f
* YQL-20234: Support Corr and Cov agg phasesvitya-smirnov2026-05-061-3/+31
| | | | commit_hash:cb540d095291ddee3bb60c2d3addee54d23daa1c
* YQL-21203: Do not suggest column after ASvitya-smirnov2026-05-042-1/+17
| | | | commit_hash:8734b1a0721f4defbb881e2e9b0d990f64e9a2ad
* YQL-21115: Remove private UDFs from a completionvitya-smirnov2026-05-043-0/+45
| | | | commit_hash:e97cd58d9cd5b896371d7d79495554fb800a6c23
* YQL-20928: Fix RIGHT JOIN for YqlSelectvitya-smirnov2026-04-303-36/+42
| | | | | | | | | | 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-21128: create AsOptionalmariibykova2026-04-302-0/+18
| | | | commit_hash:c998ba15db7c4e5137f44904de85755aa7322e8e
* Enable StrictWarningAsError at codevitya-smirnov2026-04-303-18/+2
| | | | commit_hash:2edeea0a4eb7e3a51fc7417a1258b2652026bc08
* YQL-20518: Fix UDF completionvitya-smirnov2026-04-302-0/+15
| | | | commit_hash:9ae3e629c03527ac6f4bdfbb3fe6a3394f006eda
* YDB: Rename "max_shards_in_flight" COMPACT option to "parallel"vitaliff2026-04-305-22/+22
| | | | commit_hash:a0f516a47f201ca41f812f97fa2ea198cb33edd4
* YQL-20928: Support SELECT DISTINCT for YqlSelectvitya-smirnov2026-04-304-3/+17
| | | | commit_hash:af4c180548bf1699ec6afb335167a4220418386c
* YQL-14176: Improve UNION/EXCEPT/INTERSECT completionvitya-smirnov2026-04-302-0/+82
| | | | commit_hash:26b6bc3091189590aad066d949eeb170b8a43e94
* YQL-20279 exclude internal YQL protos for java, moved issue_id.proto to publicvvvv2026-04-297-7/+7
| | | | | в основном они протекают после включения contrib/ydb/core/protos (что на самом деле не публичная часть GRPC сервиса) commit_hash:1fec0018e2f898417521c5b0b39d6ba64fb97c80
* YQL-20928: Fix YqlSelect table ref default aliasvitya-smirnov2026-04-292-23/+47
| | | | | | | 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
* YDB: Allow WITH for all index types to add PARALLEL option to index buildsvitaliff2026-04-292-18/+3
| | | | commit_hash:b5b8ccb89124298b222e8c8c147c1391db28681d
* YQL-21048: Support Grouping function at YqlSelectvitya-smirnov2026-04-283-0/+10
| | | | | | 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-2810-26/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-20095: Enable readability-inconsistent-declaration-parameter-namevitya-smirnov2026-04-2819-88/+88
| | | | commit_hash:9589937209af8e742c0c6401bd1c232f073856bf
* YQL-21111: Moving the LangVerCheck to init-stage using ProxyNodemariibykova2026-04-243-31/+67
| | | | commit_hash:2667edfae53909edc485af9517d27ff796863b1d
* YQL-20380: Introduce LSP correct name resolutionvitya-smirnov2026-04-2426-235/+864
| | | | | | | | | | | | | | | | | | Previous name resolution in a completion engine was poor, because it just mapped a name for an expression and so redefinition was not working. For example, a table name inference did not work on the following query: ```yql $x = '/a' $x = $x || 'b'; $x = $x || 'c'; FROM plato.$x SELECT #; ``` But now it works. And also there was an issue with names visibility, because names were resolved like for `letrec`, not `let`. It was fixed. The new name resolution analyses the whole query and uses not only a name for an identifier lookup, but also its position in text. Each named node entry now classified as definition and a reference. There is a way to map each reference to a definition. In future it will be a basis for named nodes "go to definition", "find references", "rename" LSP methods. commit_hash:ceeecbe2a59aa4d82ceb59ef930af5659dcd5ff7
* allow syntax selection in the formattervvvv2026-04-232-2/+18
| | | | commit_hash:c01e7f189b7eec0291cbda0e09b815d7bca8ecc9
* Support bind parameters for YT create/drop viewaneporada2026-04-225-12/+113
| | | | commit_hash:3e9feecf0c71bf7c44a325d7f7097570f00a4116
* Fill RetentionStorage settingilnaz2026-04-211-0/+2
| | | | commit_hash:556ce0d0ff044b330253684559a841f8b4317745
* [refactoring] Support DeferredAtom in some DDLaneporada2026-04-218-173/+143
| | | | commit_hash:398605d3bda870cec09b13f569217daa4d41c40d
* add ddl for min_max index is YDB Column Shardsbecalm2026-04-204-5/+59
| | | | | <https://github.com/ydb-platform/ydb/issues/38356> commit_hash:4913b8d9f76b8399f2b2ac6a654ff8a95f99e802
* YQL-21046: Support window aggregation over YqlSelectvitya-smirnov2026-04-2017-61/+596
| | | | | | | | | 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
* fixed clang formatxyligansereja2026-04-171-7/+5
| | | | commit_hash:94317d86597690967404beb88d2651ab6f28864f
* added support for index settingsxyligansereja2026-04-175-12/+166
| | | | commit_hash:7da3d34787a0d0bb1840c1138ed396fe4b383b6d
* YQL-21168: Fix protobuf type config file parsingatarasov52026-04-171-0/+12
| | | | commit_hash:820e0aec8856d51711fb71caa225cd7d6d89e7a0