summaryrefslogtreecommitdiffstats
path: root/yql/essentials/parser
Commit message (Collapse)AuthorAgeFilesLines
* Intermediate changesrobot-piglet6 days1-0/+1
| | | | commit_hash:cdc30f3e046972271b24aea32be1ef8f6bcd0c03
* YQL-21404 implemented syscache, table, func callvvvv7 days12-36/+1396
| | | | | | | | | | | | | | #### `YQL-21404`: Implemented syscache, table, and function call support for collations ✎ - Added support for PostgreSQL collation handling in function calls, enabling explicit collation specification via named arguments - Implemented syscache and table catalog support for pg_collation system table to provide complete catalog information - Enhanced type annotation and runtime compilation to properly handle collation OIDs and validate collation names - Introduced ICU locale collation support with stable OID assignment based on locale position in generated catalog - Added comprehensive test coverage for collation functionality including standard and ICU locales, collation validation, and error cases - Extended SQL parsing to support COLLATE clauses and proper collation propagation in function calls <a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a> commit_hash:e9a32cc848bef7b68b4f57f71a1f5f69e0de9653
* Support Uuid and DyNumber in minikql blocks and Arrowxyligansereja11 days1-8/+129
| | | | | | | | | | | | | | | | Изменения в рамках этого тикета <https://github.com/ydb-platform/ydb/issues/44190> #### Support Uuid and DyNumber in minikql blocks and Arrow ✎ - Added support for Uuid and DyNumber data types within MiniKQL blocks and Arrow computations, enabling their use in block-based operations and serialization - Implemented proper conversion, serialization, and deserialization logic for both data types in the Arrow format - Extended block item handling to support Uuid and DyNumber, including comparator and hasher implementations - Added comprehensive unit tests covering roundtrip operations, serialization, comparison, and conversion for both data types - Integrated Uuid and DyNumber support into built-in functions like Min/Max and their aggregate variants - Updated type system and block builder components to recognize and handle the new data types correctly - Added necessary includes and utility functions to work with Uuid and DyNumber in MiniKQL contexts <a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a> commit_hash:d1ab82c060cfa90b7cd13a1cb3efbcb9615e6291
* Fix reliance on depenedencies leak in sandboxing builds -- yqlspreis2026-07-072-0/+6
| | | | | | | ref: https://nda.ya.ru/t/AbfNDR767hmc8i The 2nd (updated) generation induces dependencies into generated files from inputs, but it was not anyhow reflected in ya.make and sandboxing used to work only because inputs leaked through outputs into compilation. This issue was discovered in attempt to fix dependencies leak. commit_hash:9af9a17fccb7e94e064dbd0af14fe69eab792f78
* YQL-20095: Tune bugprone-argument-commentvitya-smirnov2026-06-302-2/+2
| | | | | https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html commit_hash:780ff6a63be44998cb2336a05f3dc33e68a676bf
* YQL-20095: Enable performance-move-const-argvitya-smirnov2026-06-241-1/+1
| | | | | | | | | | | | | https://clang.llvm.org/extra/clang-tidy/checks/performance/move-const-arg.html This check useful, as it shows, when a `std::move` is useless, so to expectations of a programmer are not aligned with reality. The most useful profit is to see `const T&` arguments, that are potentially can be replaced with `T`. Also disabled `CheckTriviallyCopyableMove`, see https://nda.ya.ru/t/Emvgx5Z67fpZY5 why. commit_hash:c80c264a9774721aabbac85b350ccdbb8b9a39a2
* YQL-20875: Enable apache arrow datum light checkatarasov52026-06-042-4/+4
| | | | commit_hash:ca028259d6fbf7b46aa0cc392187b8b153716d62
* Update contrib/libs/libpq to 18.4robot-contrib2026-05-301-0/+6
| | | | commit_hash:51625f19250847ebb3fcf8b7881989062beab1fa
* YQL-21241 pg 16.14vvvv2026-05-15217-1736/+5031
| | | | commit_hash:b8bda7a3ca0d266411cc83ed1ca113dc4cb64203
* YQL-20095: Enable readability-simplify-boolean-exprvitya-smirnov2026-05-071-5/+1
| | | | commit_hash:b3d7609795f9aeaaafe9cb65dbb2c6460582a4ec
* YQL-20095: Enable readability-inconsistent-declaration-parameter-namevitya-smirnov2026-04-283-17/+17
| | | | commit_hash:9589937209af8e742c0c6401bd1c232f073856bf
* YQL-20189: Introduce PRAGMA Warning for pgSQLvitya-smirnov2026-04-151-3/+4
| | | | commit_hash:c2e47cfc5969038aa6a4076a3fc2f5e67d5083ba
* YQL-21027: Fix pg value serializationatarasov52026-04-131-2/+3
| | | | commit_hash:9ee085f14c8ce1d9c66c3b1008f71570ea975bf8
* YQL-20095: Enable readability-isolate-declarationvitya-smirnov2026-04-131-1/+2
| | | | commit_hash:c180c2db4897962cb70063ffdc2ddcd21e5e3418
* YQL-20873: Range PG supportatarasov52026-04-1322-641/+1821
| | | | commit_hash:9e799ea42a2692eb96ebc792b48e46dd060c182b
* YQL-20095: Enable readability-container-size-emptyvitya-smirnov2026-04-071-8/+8
| | | | commit_hash:464a95fd6de1a395f8ffe20092e837df995e623c
* YQL-20095: Enumerate Arcadia Clang Tidy whitelistvitya-smirnov2026-04-037-6/+10
| | | | | | | | | | | | | Then I will be able to: 1. Create a script to compare our Clang Tidy configuration with Arcadia whitelist, so we will receive Pre-release errors like we have now for a Clang Format. 2. Improve yqltidyfix command for an autofix and check activation, so it will be completely automatic. In past, I forgot to enable some checks because of an automation absence. commit_hash:c3678b389d18ce8b5ec5314b2b992eaf09fec249
* YQL-20095: Enable modernize-use-designated-initializersvitya-smirnov2026-03-171-8/+12
| | | | | https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-designated-initializers.html commit_hash:d73eb463c7bec2bda4c362aab10af49979a7ddd3
* YQL-20095: Apply lost Clang Tidy fixesvitya-smirnov2026-03-052-4/+8
| | | | | | | I do not known why, but these Clang Tidy fixes was lost. Maybe this is because of conditional preprocessing. Maybe Clang Tidy is ran only on changed sources. commit_hash:718e5487699b21b643ed90729ce8347c84cbd6ee
* YQL-20095: Enable modernize-use-usingvitya-smirnov2026-03-041-2/+2
| | | | commit_hash:ea1f0987ec40e3e683c35bffb64b7f5ab35e73ed
* YQL-20095: Enable modernize-pass-by-valuevitya-smirnov2026-03-025-14/+23
| | | | commit_hash:4939dfad654f18bb31e40711ee0c39063889f17b
* YQL-20095: Enable modernize-loop-convertvitya-smirnov2026-02-271-6/+3
| | | | | | | | - 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
* Intermediate changesrobot-piglet2026-02-251-1/+0
| | | | commit_hash:58d6fcd5a8ddffda7232afb464c95224c1f4788c
* YQL-20095: Enable modernize-avoid-c-arraysvitya-smirnov2026-02-191-0/+3
| | | | commit_hash:da491ee93c4f4d3c885c7908a22b4d5d66c80388
* YQL-20095: Enable modernize-concat-nested-namespacesvitya-smirnov2026-02-172-12/+4
| | | | commit_hash:2c0e0389bf5eca0c8334d55143674a8acf94a88d
* YQL-20868: separate typecheck at fastchecklukashevich842026-02-021-0/+2
| | | | commit_hash:4c9fb69c69ca016d87b38a1effc2f3ec3d4a0ecb
* Reusable PGParse variantvvvv2026-02-012-4/+66
| | | | commit_hash:a35fa5dd54656953ad6766cc3573e1425fc2ae09
* YQL-20095: Enable google-explicit-constructorvitya-smirnov2026-01-235-8/+8
| | | | commit_hash:4d77ad10fd4db303459ec4e45e139967c7fc8196
* YQL-20095: Enable modernize-use-overridevitya-smirnov2026-01-134-4/+4
| | | | | | | | | | | | | | | | | | | The check `modernize-use-override` is useful as it: 1. Removes redundant `override` when it is used with a `final`. 2. Removes redundant `virtual` or replace it with a `override`. So it is more clean for a reader, that overriding happens. It is enabled not out of order, as it is just an alias to `cppcoreguidelines-explicit-virtual-functions`. I also decided to switch a strategy of enabling checks. Now I will enable only a single rule with a single PR and prefer rules with a non-breaking autofix. In the new year with new linter checks! 🎄 commit_hash:e6e233baa90b31e5f65e11837546690c47f71ab5
* YQL-20727: Abort -> Throwatarasov52025-12-151-0/+2
| | | | commit_hash:3162d9588c46f1eb32c8776726b5e76754e3a80a
* YQL-20429: Fix race conditionatarasov52025-11-283-5/+21
| | | | | YQL-20429: Fix race condition commit_hash:e9f94e9809b796c45459987a91cc1581bd69df36
* YQL-20567 upgrade PG up to 16.10 & fix instructionsvvvv2025-10-24285-33893/+42077
| | | | | init commit_hash:81aba13295273281d19d2d332a48ff1c44977447
* moved .dat/.sql back to pg_wrapper sourcesvvvv2025-10-2314-13/+13
| | | | | due to github -\> arcadia migration commit_hash:5b6f33531e8010053194cbcd3ac029566ab12e1d
* Update contrib/libs/libpq to 18.0robot-contrib2025-10-221-0/+11
| | | | commit_hash:700f0b3541cf5405ab109f85da471ac2c2077e28
* YQL-20490 Drop antlr3 grammarvvvv2025-10-1612-271/+7
| | | | commit_hash:6c5c638d87eb41018d637f1535af104fac16e51c
* YQL-20086 ya style exceptionsvvvv2025-10-154-0/+4
| | | | commit_hash:0ce22f019b23d4e9d4ab9cc7fd544cb7b473873e
* YQL-20086 invert flagvvvv2025-10-1030-538/+527
| | | | commit_hash:a6b640bc576263b62884a0b4187ba79c893e13d9
* YQL-20425: Fix UBSanatarasov52025-10-102-1/+10
| | | | commit_hash:542a9c3e054146d270700a469d6ba81b5022e539
* YQL-20086 parservvvv2025-10-0835-955/+1002
| | | | commit_hash:dd605e5cde39ff07fdadf62f0c2364a8b12c8405
* YQL-20116: Introduce ANTLR4 ambiguity detectionvitya-smirnov2025-10-069-49/+131
| | | | | | - Ignored 2 known ambiguities. - Tested tools. commit_hash:9e29bb2f876dabc68293b3e5c26a470d373506ae
* Intermediate changesrobot-piglet2025-10-012-0/+5
| | | | commit_hash:1e8a2a099f9e48eec9f032d747448999cc3444f2
* Fix -Wunused-private-field, -Wextra-qualification + -Wbraced-scalar-init ↵mikhnenko2025-09-161-3/+1
| | | | | | | | | which was improved in clang20 in yabs, yp, yql, yt, yweb If you think that this pr has broken something for you, roll it back If the problem is not trivial, come to [support](https://nda.ya.ru/t/a1JIzEbo78mtfQ) Original errors you can see [here](https://nda.ya.ru/t/vR07ieAR7JxcsU commit_hash:1bd170edcf6de16c2c7a67d89240aa65a260efdd
* prepare for ANTLR update - switch to use of RUN_ANTLR4_CPP macrosnermolaev2025-08-082-36/+15
| | | | commit_hash:3da9ee3d9db244fe5dda2351414cc7b26b553b06
* YQL-20102: Enable debug arrow validationatarasov52025-07-101-3/+3
| | | | | | | | В данном PR включена поддержка валидации Datum'ов на соответствие `MKQL type <-> arrow type <-> arrow array data structure.` Выявленные проблемы: 1\. `AllocateResizableBuffer(size_t size)` возвращает массив длины 0 вместо size. Поэтому есть ошибка в работе с датами в некоторых нодах commit_hash:122f2bd114dec50993131391a3793d9540877cb4
* YQL-20153 params fixesvvvv2025-07-042-2/+30
| | | | commit_hash:6a71bff1ad52eddd1b8c7d516f0810f0decf401e
* YQL-20086 parser (w/o pg)vvvv2025-06-209-501/+501
| | | | commit_hash:f4bddb30981abde1a951149fff272d86a22dd726
* Intermediate changesrobot-piglet2025-06-161-4/+0
| | | | commit_hash:18e311c0ad94b55003cb5a6c0487a16830fac5cd
* YQL-19747: Support USE statementvityaman2025-05-201-1/+5
| | | | | | | | | | | | | | Introduce global analysis which will be extended with more ParseTree analysis later. --- - Related to `YQL-19747` - Related to https://github.com/vityaman/ydb/issues/40 --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1281 commit_hash:848fb3fdd6bc9612769c47d66198fca018ff465f
* YQL-19611: Appropriate handle of null arguments in param score matchingmrlolthe1st2025-05-131-1/+1
| | | | commit_hash:aef029b757218731b5855868b341ffdb3fa79203
* YQL-19767: Introduce MKQL allocator address sanitizingatarasov52025-05-061-4/+7
| | | | | Здесь поддержал только out of bounds access и use after free. Отложенное использование памяти и тд буду делать потом commit_hash:2a3fd472b626762ff7c8b7b0bc1285af50c511cf