summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/sql_translation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add new option CACHE_MODE in FAMILY settingsivannik2025-08-221-0/+5
| | | | | | RFC: https://nda.ya.ru/t/vPsncOoC7HttdF GitHub Issue: https://github.com/ydb-platform/ydb/issues/18695 commit_hash:96445a9aef7b1fede372b9e4c60b30eb9ef5fdc1
* YQL-20257: Parse cluster at simple_table_ref bind_parametervitya-smirnov2025-08-131-7/+8
| | | | | | | - Add `cluster_expr` to `simple_table_ref_core` alternative. - Added `Sql2Yql` unit test with a statement that is not parsed on trunk: https://nda.ya.ru/t/qHRri7r57HK3r2. commit_hash:eada89e88e3f2bc03c47cd22b73ba58b75f20681
* Watermarks: DDLvokayndzop2025-08-081-1/+14
| | | | commit_hash:64ad6b4138ee27f474b440e8ef3e07fac1935346
* YQL-20086 sqlvvvv2025-06-181-349/+349
| | | | commit_hash:b06f3d2f5fa81e2073966eb172758758bd94fdf2
* support database settings in ALTER DATABASEdeminds2025-06-041-0/+82
| | | | | | | | The main goal is to enable setting SchemeLimits (ShardsLimit and PathsLimit) via YQL. Issue: - https://github.com/ydb-platform/ydb/issues/16742 commit_hash:e873849e3b4bb494e349ccebbb1ff6d51655c5d1
* Fix parsing INDEX GLOBAL (SYNC|ASYNC)Vasily Gerasimov2025-05-211-10/+16
| | | | | | | | | | | | | | * Changelog entry Type: fix Component: yql Fix parsing unique index type. There was an error that, if not specified explicitly (SYNC or ASYNC), index type remained with the default value GLOBAL SYNC, despite that it was explicitly specified as UNIQUE in query. https://github.com/ydb-platform/ydb/issues/17885 --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1287 commit_hash:60de1b723fb1229f2197087fe21db67c72ccbd13
* view: use parent context for query AST buildingdeminds2025-03-111-69/+40
| | | | | | | | | | | | | | | | | | Issues: * <HIDDEN_URL> * <https://github.com/ydb-platform/ydb/issues/14709> Previously it was impossible to create a simple view like the following: ```sql CREATE VIEW demo_view WITH (security_invoker = TRUE) AS SELECT "bbb" LIKE Unwrap("aaa") ``` The problem was caused by the fact that a separate parsing context was used to build a view select AST for later validation. The list of UDFs is global for the whole parsing process to optimize the calculations. This global list was lost in the separate context and the view validation failed in such cases. We fix the issue by using the same context for the view query validation in which the `CREATE VIEW` statement is executed. Moreover, we have started capturing all the statements in the view query text that can affect the compilation (see the `NeedUseForAllStatements` function). commit_hash:f84d54ff1688fb43af7170a4db35f6729f2c4f10
* Fix bug in ALTER USER with set null passwordflown4qqqq2025-03-061-1/+2
| | | | | До этого, при любом запросе ALTER USER без опции PASSWORD выставлялось значение Null Password как дефолтовое - это баг, потому что при модификации пользователя не надо выставлять вообще никакого значения. commit_hash:3cb3d5bb3e9487439787deb9102cd0105b6b9e82
* Change the text of error for create user with password.flown4qqqq2025-03-021-16/+25
| | | | commit_hash:6631b600dda026c616983f0b08daa912beb0f5db
* refine Antlr depsvvvv2025-02-271-10/+9
| | | | | refine Antlr deps commit_hash:71b99424edb283bf56be6e79c9c9a19d805ce2ce
* YQL-19594 Explicit lexers & parsers 2vvvv2025-02-211-1/+1
| | | | commit_hash:2aa733486a55a04c39ff8bb1c7eaca3a85719647
* YQL-19594 Explicit lexers & parsersvvvv2025-02-191-2/+3
| | | | commit_hash:6be543b7c5bff6ee474ee606c920197fb2569767
* Add option 'HASH' into CREATE USERflown4qqqq2025-01-241-36/+87
| | | | | | | | | | | | | Need for: <https://github.com/ydb-platform/ydb-rfc/blob/main/backup_fstek.md> ``` CREATE USER my_user HASH ' {"hash": "p4ffeMugohqyBwyckYCK1TjJfz3LIHbKiGL+t+oEhzw=", "salt": "U+tzBtgo06EBQCjlARA6Jg==", "type": "argon2id" }' ``` commit_hash:a0c695c2e2f7f794e5c4db978fe33a7bfea59e2c
* YQL for create, alter and drop transfer from topic to tabletesseract2025-01-211-3/+100
| | | | commit_hash:09502f46a7ee665609d2c4ba8d9e0aa421720cdb
* Introduced TableSource wrapper and Blocks/Peephole mode for minirun testsvvvv2025-01-201-1/+1
| | | | | init commit_hash:22d9a4470f726b8efcd86aaf043bfa5552c2b35e
* fix errors in arcadia with 'uknown option login in create user'flown4qqqq2024-12-271-5/+1
| | | | commit_hash:c5befaca465358942992e4e07be0d853b834a9bf
* alter/create user login/nologin. fix parsing into astflown4qqqq2024-12-261-1/+1
| | | | commit_hash:47dcc54f91a32727e932a24909243d1f4d8fa8cc
* PR from branch users/flown4qqqq/yql-new-query-alter-user-login-nologinflown4qqqq2024-12-241-9/+72
| | | | | | | | | | | | | | | | New option in query: ``` CREATE USER user LOGIN; CREATE USER user NOLOGIN; ALTER USER user LOGIN; ALTER USER user NOLOGIN; ``` > implementation in sql > add ut commit_hash:7d7c0f251711814d86ae6cb49b4d052317a74001
* Extend TTL syntax to support tiersyentsovsemyon2024-11-211-8/+57
| | | | | RFC: **[nda.ya.ru/t/JsIT3hp679nYxn](https://nda.ya.ru/t/JsIT3hp679nYxn)** commit_hash:a0a4f65b24ee591cb76fd3cf253ffe24a01bfaf5
* Apply GH commitsudovichenko-r2024-11-121-7/+49
| | | | | | | | | | | | | Apply GH: Extract prefix and entries in backup-related sql (#10807) Apply GH: Fix syntax for Column Family (#10781) Apply GH: Case-insensitive mode for searching modules and functions (#10842) Apply GH: Fixed i/o for pg_proc (#10914) Apply GH: An option to render SQL transalation with Seq! (#11015) commit_hash:d2d2fcdef2bbd0434236aef325aa071c7e39c526
* Moved other yql/essentials libs YQL-19206vvvv2024-11-071-0/+5149
init commit_hash:7d4c435602078407bbf20dd3c32f9c90d2bbcbc0