summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/proto_parser
Commit message (Collapse)AuthorAgeFilesLines
* YQL-20631: Support simple CTEs on YqlSelectvitya-smirnov2026-06-182-9/+39
| | | | | | | | | | | | | | | | | | | | | | | The first iteration on WITH CTE support. Only simple CTEs are supported. Properties: 1. Redefinition is forbidden. 2. Shadowing is supported. 3. Nested WITH CTEs are supported. Following features are not yet implemented: 1. Column names specification. There is an assertion failure at core because of an absent column order when translating it like for the `PgSelect`. 2. `RECURSIVE` is postponed. There a more sophisticated translation with `YqlSelf` callable is required. Also there was a potential defect because of an empty `Id` result not expected. commit_hash:759676d8a9d369f7eedd9b87f79455b2f8a9fcff
* YQL-20631: Introduce WITH CTE syntaxvitya-smirnov2026-06-162-8/+12
| | | | commit_hash:77f0128cac891f08ce6c8f9a721f66f69032c44e
* YQL-21134: Introduce not strict AST equalityvitya-smirnov2026-06-102-12/+0
| | | | commit_hash:6d140dd812ad22bada6b8680e160b74b599f7032
* YQL-16277: Implement frontend for COMBINE commandimunkin2026-05-131-0/+2
| | | | commit_hash:5a7847c000c3e5ec4cadf6880184d3eebb26d3b1
* YQL-20095: Enable readability-simplify-boolean-exprvitya-smirnov2026-05-071-7/+2
| | | | commit_hash:b3d7609795f9aeaaafe9cb65dbb2c6460582a4ec
* YQL-20095: Enable readability-inconsistent-declaration-parameter-namevitya-smirnov2026-04-281-3/+3
| | | | commit_hash:9589937209af8e742c0c6401bd1c232f073856bf
* YQL-21058: Allow no SQL-statements under a SQL flagvitya-smirnov2026-04-082-3/+26
| | | | commit_hash:8e8b69c49159fb6ea51c1f9cd0f49e8d8d52f5ee
* YQL-21134: Do not check formatted AST on CREATE VIEWvitya-smirnov2026-04-077-2/+145
| | | | commit_hash:1465f98162ca2b71d5b4c0d8088af25f68cd1d3b
* YQL-20095: Enable readability-container-size-emptyvitya-smirnov2026-04-071-4/+4
| | | | commit_hash:464a95fd6de1a395f8ffe20092e837df995e623c
* Replace unreachable with *_ENSURE(false, ...)atarasov52026-04-012-2/+6
| | | | commit_hash:7c1445375e838a9327006528cb455c9899e9b32d
* YQL-20904: Support UNION at YqlSelect subqueryvitya-smirnov2026-03-022-14/+14
| | | | | | | | A partial implementation, that accepts only subqueries, matching `select_kind (UNION/EXCEPT/INTERSECT select_kind)*`, so parenthesis are not supported yet and will be added later. Parenthesis support was postponed as they are not used in the TPC-DS benchmark. commit_hash:008ad8857000d1f69e8e8979fa83ab803318a1ae
* YQL-20905: Introduce YqlSelect SQL hintvitya-smirnov2026-02-275-0/+61
| | | | commit_hash:823b4cca7fd53e39ccbd4699be3ff4e8faafad45
* YQL-19017: Remove TTranslationSettings::Antlr4Parservitya-smirnov2025-12-102-14/+29
| | | | | Then I will remove an `Antlr4Parser` usages from the YDB. commit_hash:0183482e46de023f71698e03db9a0c51ef10fe98
* Use Y_UNREACHABLE for ALT_NOT_SETvitya-smirnov2025-10-201-0/+1
| | | | | | | | It is not convinient to grep "You should change implementation according to grammar changes" every time you need it during new translation feature. AI does not always suggests it. More convinient is to use just `Y_UNREACHABLE` as `ALT_NOT_SET` is actually unreachable. commit_hash:132f264e9f781b8c2433fb1f12374f7684466370
* YQL-20490 Drop antlr3 grammarvvvv2025-10-169-142/+6
| | | | commit_hash:6c5c638d87eb41018d637f1535af104fac16e51c
* YQL-20086 invert flagvvvv2025-10-101-2/+0
| | | | commit_hash:a6b640bc576263b62884a0b4187ba79c893e13d9
* YQL-20086 sql/v1vitya-smirnov2025-10-0713-127/+127
| | | | commit_hash:55bc611cdaa0d8a0fc3c4c7708ed9f17cc4976cf
* YQL-20116: Introduce ANTLR4 ambiguity detectionvitya-smirnov2025-10-064-10/+66
| | | | | | - Ignored 2 known ambiguities. - Tested tools. commit_hash:9e29bb2f876dabc68293b3e5c26a470d373506ae
* YQL-20307: Support inline subqueriesvitya-smirnov2025-10-013-1/+129
| | | | | | | | | | | - Alter grammar to support inline subqueries. - Support inline subqueries in `sql/v1` (translator). - Introduce `sql/v1/proto_ast/parse_tree.h` for reusable parse tree predicates. - Support inline subqueries in `sql/v1/format`. - Support inline subqueries in `sql/v1/complete`. - Add some SQL-tests. - Pass all tests. commit_hash:075b2240778d071e1c7542f912d3cc83019ef849
* YQL-19616 Implement ILexer via antlr_astVictor Smirnov2025-03-192-3/+3
| | | | | | | | | | | | | - [x] Added `antlr_ast/antlr4` module and moved `TLexerTokensCollector4` there from `proto_ast/antlr4`. - [x] Moved stuff around back and forth. Ready for a review. --- Co-authored-by: vityaman [[email protected]] Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1128 commit_hash:e08785c3408ef813505bdc7511560e9536f4ab79
* refine Antlr depsvvvv2025-02-273-38/+0
| | | | | refine Antlr deps commit_hash:71b99424edb283bf56be6e79c9c9a19d805ce2ce
* YQL-19594 Explicit lexers & parsers 2vvvv2025-02-211-10/+0
| | | | commit_hash:2aa733486a55a04c39ff8bb1c7eaca3a85719647
* Introduced lexer & parser interfacesvvvv2025-02-1815-109/+336
| | | | commit_hash:fee365c90a176dd33a967cee20994b21d530080c
* YQL-19553 initial implementation of YQL lintersvvvv2025-02-071-1/+1
| | | | commit_hash:70690bcdabf0bcfe095fb10e9e58717281d11d53
* Moved other yql/essentials libs YQL-19206vvvv2024-11-073-0/+195
init commit_hash:7d4c435602078407bbf20dd3c32f9c90d2bbcbc0