summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1
Commit message (Collapse)AuthorAgeFilesLines
* YQL-20995: Introduce Sql2Yql UDFvitya-smirnov38 hours2-5/+3
| | | | commit_hash:517966378b05a440a618b6c8a6b4072d46034bd9
* YQL-21293: Fix UTF8 at GlobalAnalysis and WS at MatchCursorPrefixvitya-smirnov38 hours6-5/+164
| | | | commit_hash:2ae25879e9456a1d5852378b7fe0b16d7e6791a5
* YQL-16277: Implement type annotation for SqlCombineimunkin4 days1-0/+2
| | | | commit_hash:7d19863b9dbf9c332d5f8793e47891793fc9091e
* Watermarks: YQL: Fix table hintsvokayndzop4 days11-94/+244
| | | | commit_hash:feaa364ef3d3f71bfa70a7d64e2cc6e3854d79a5
* YQL-16277: Drop excess source usage in TCombineInputSourceimunkin5 days1-16/+15
| | | | commit_hash:694e0787ced0acde6726ff70192b2a73adc20d81
* YQL-16277: Allow using expressions in equi predicates for COMBINE commandimunkin6 days1-7/+36
| | | | commit_hash:3d559c0475767547557bc9401ecd54bb6c531ee0
* hybrid rank callable placeholder KIKIMR-25488gvit6 days1-0/+5
| | | | commit_hash:eabe9b632535a58658e2ffa4220cd5782df5b2da
* YQL-20855: Support NULL as a type namevitya-smirnov12 days8-4/+115
| | | | commit_hash:e420d2d62e3a77af79abbec946f1008c1fa359c6
* YQL-21111: Introduce feature registryvitya-smirnov13 days13-322/+255
| | | | | | | | | | A feature registry lets us to reference features by name, rather than a concrete langver. It makes easier to find feature references and releasing incubating features (under max langver during the development). Features are described at `yql/essentials/data/language/features.json` and the C++ code is generated. The unit `feature.h` also introduces a convenience functions to check a feature availability and emit a standard error message. All features in the translator where replaced with named. commit_hash:c47f540536212a65f7bc5e8dc6051e73d006be8d
* Add flag `ValidateViewStatement`ilnaz13 days1-4/+6
| | | | | https://github.com/ydb-platform/ydb/issues/41267 commit_hash:4b58b88908e09beb14aa1091377b5e099e0420eb
* YQL-21259 Allow Tables() function only in purecalcvvvv14 days2-0/+11
| | | | 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-2215-47/+47
| | | | 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-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-293-3/+3
| | | | | в основном они протекают после включения 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-2817-84/+84
| | | | 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