summaryrefslogtreecommitdiffstats
path: root/yql/essentials/tools
Commit message (Collapse)AuthorAgeFilesLines
* YQL-21134: Set UnstableFormat AST flag unconditionallyvitya-smirnov9 days2-3/+5
| | | | | | | - Renamed `TAstNodeFlags::IgnoredContent` to `TAstNodeFlags::UnstableFormat` to better reflect its purpose. - Removed the `MarkQueryTextAtomWithIgnoredContent` translation setting. The `UnstableFormat` flag is now unconditionally applied to query text atoms during parsing. - Updated `CheckedFormat` and `ValidateAST` to accept an already parsed AST. Since the flag is now set unconditionally, we can reuse the initial AST for format validation. This avoids re-parsing the original query, reducing redundant AST builds and overall RAM consumption. commit_hash:bba3e6733d3a9c120cf9724a161e603de0cfc038
* YQL-20239: Exract pure_ast and move to sql/v1/idevitya-smirnov14 days6-21/+21
| | | | | | | | | It is a preparation for a hover LSP method implementation. Query parser and a narrowing visitor are required for the feature, so I extract the logic to a module `pure_ast` from a `complete`. Also modules `complete` and `pure_ast` are moved to `sql/v1/ide/completion` and `sql/v1/ide/pure_ast`. commit_hash:58bed5f2e39bf4779e28468fe7de1e0c4fb2c4c3
* Intermediate changesrobot-piglet2026-06-101-6/+2
| | | | commit_hash:ba99cebef5933b5e266855e6db76537611c155fa
* YQL-21134: Introduce not strict AST equalityvitya-smirnov2026-06-102-5/+3
| | | | commit_hash:6d140dd812ad22bada6b8680e160b74b599f7032
* Intermediate changesrobot-piglet2026-06-091-7/+6
| | | | commit_hash:3bc6b3fe94e77b29cd3130cbfba1e1a04df560ee
* Retire StrictWarningAsError flagvitya-smirnov2026-06-081-3/+3
| | | | commit_hash:426fc64ddb2e4aa97f2a867677c63208562d5e76
* Intermediate changesrobot-piglet2026-05-271-2/+9
| | | | commit_hash:0cd6fc0bf2710bf89ee654ef4c3771c74fb493a6
* Intermediate changesrobot-piglet2026-05-151-2/+0
| | | | commit_hash:6fa32482bec62ba06df9554ccb196cbabfe5c100
* Fix YQL native YT type flags - revertziganshinmr2026-05-131-1/+1
| | | | commit_hash:fe3d6f4ff2b9f8f5441026ca53f095eae9f6cca3
* YQL-21210 new lang vervvvv2026-05-071-1/+1
| | | | commit_hash:23ab69eb08e7c8f74df14dfc43e6109479b8dd15
* YQL-20095: Enable readability-uppercase-literal-suffixvitya-smirnov2026-05-071-1/+1
| | | | commit_hash:41791bb9a63f1993010fb68562e9a5607927307d
* YQL-19813: Udf implementationatarasov52026-05-072-3/+7
| | | | commit_hash:183e3a952a021c4701c20d6677800f245239d822
* Enable StrictWarningAsError at codevitya-smirnov2026-04-301-1/+1
| | | | commit_hash:2edeea0a4eb7e3a51fc7417a1258b2652026bc08
* Fix YQL native YT type flagsziganshinmr2026-04-231-1/+1
| | | | | | | | | | | | | | Пытаюсь исправить работу native type flags: - Исправления в TYqlRowSpecInfo: * При создании новых таблиц (SetType) - сразу выставляем нужные флаги согласно типу вместо усечения NTCF\_ALL на поздних этапах * Сделал прагму NativeYtTypeCompatibility static per cluster * При чтении \_yql\_row\_spec существующих таблиц - игнорируем записанное значение флагов, вместо этого выводим его из нативной схемы - Пишем правильные флаги \_yql\_row\_spec выходных таблиц (в зависимости от текущих NativeYtTypeCompatibility) - Обновил логику в оптимизаторах насчет выравнивания флагов - Убрал использование NTCF\_VOID и NTCF\_NULL для консистентности чтения/записи флагов (они и так всегда native, при чтении старый формат распознается) - Исправил Skiff схему для этих типов для соответствия поведению кодека (раньше каким-то чудом не стреляло) commit_hash:4a744866861591f9ba4a92c515cf33cfb88fb0a8
* YQL-21105 capture poly args during discovery of UDFvvvv2026-04-152-0/+72
| | | | commit_hash:17dd1b0e35654280ba5695c037baef93bcbb06a5
* YQL-20095: Enable readability-isolate-declarationvitya-smirnov2026-04-133-6/+12
| | | | commit_hash:c180c2db4897962cb70063ffdc2ddcd21e5e3418
* Intermediate changesrobot-piglet2026-04-101-0/+9
| | | | commit_hash:0cb2ef36537bdf8dd3cfe284eefaea9d3a5d0e5b
* Intermediate changesrobot-piglet2026-04-0913-23/+47
| | | | commit_hash:79cac9c602a6a534ae64039a2cafc8be427acf4e
* Intermediate changesrobot-piglet2026-04-0925-55/+246
| | | | commit_hash:e7fe74e96542f1fb4565640d02a416595ad3d438
* Secure tmp foldersziganshinmr2026-04-081-1/+2
| | | | | Add support for automated allocation of secure TmpFolder on YT clusters for each user commit_hash:2d06fc7616f65d9814c7a5ca33a4da582fb5b016
* YQL-21105 Enable scan_udfs by defaultvvvv2026-04-071-0/+1
| | | | | | | | | | | | | #### Включение сканирования UDF по умолчанию 📝 - 🛠️ Добавлена возможность включать сканирование UDF по умолчанию, с поддержкой нового флага `YQL_UDF_NO_SCAN` для управления поведением. - 🧪 Обновлена логика тестирования и разрешения UDF, чтобы учитывать переменную окружения и специфические условия для некоторых проектов. - 🔍 Расширена функциональность сканирования UDF с добавлением новых функций и улучшения обработки вызываемых элементов. - ⚙️ Внесены изменения в конфигурацию и инструменты разрешения UDF для корректной работы с новыми параметрами. - 📦 Добавлен новый вызываемый элемент в список поддерживаемых функций. <a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a> commit_hash:f4fe0fb492e7d433d76310f56f5be94582fcbe22
* YQL-20095: Enable readability-container-size-emptyvitya-smirnov2026-04-071-3/+3
| | | | commit_hash:464a95fd6de1a395f8ffe20092e837df995e623c
* YQL-20095: Enable readability-const-return-typevitya-smirnov2026-04-061-6/+6
| | | | commit_hash:8c898c65c0bdf92423256a1e752b13cc3ffd364a
* YQL-19768: Enable optimizers for purecalc block pipelineimunkin2026-04-0315-3/+227
| | | | commit_hash:36cc4e038807245cc6e15c4d4ed78ec199a08bb6
* YQL-21105 refactored udf meta for lintervvvv2026-04-032-7/+9
| | | | | | | | | | | | | | #### Рефакторинг метаданных UDF для линтера 📝 - 🔄 Заменена структура фильтрации UDF на более гибкую систему метаданных, упрощена логика работы с UDF в линтере - 📦 Добавлены новые интерфейсы и реализации для работы с метаданными UDF, обеспечено совместимое API с существующими компонентами - 🛠️ Обновлены вызовы и передача параметров в функции линтера, адаптированы все зависимости под новую архитектуру метаданных - 🧪 Обновлены тесты и примеры использования, адаптированы к новой системе работы с метаданными UDF - 📁 Удалены устаревшие зависимости и структуры, упрощена архитектура взаимодействия между компонентами - 📝 Обновлены документационные комментарии и описание API для соответствия новой реализации <a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a> commit_hash:5ec05daf8b80518d549815ee823c6850a1629ee3
* Use GatewaysConfig from QContext everywhere - second attemptziganshinmr2026-04-032-12/+18
| | | | | | | | | | | | | Повторная попытка влить <https://nda.ya.ru/t/jg-Sfxls7YQrme> Исправления относительно предыдущей: - Исправил загрузку SqlFlags в HandleTranslationSettings при реплее, упростил код вокруг (перенес отсюда <https://nda.ya.ru/t/b-IweA-p7YQrmi>) - приводило к отключению SQL фич на реплее и соответствующим падениям (например, DistinctOverWindow) - Исправил создание ModuleResolver, теперь он создается с правильными SqlFlags (тоже самое, но в модулях) - Теперь прикапываю полный конфиг, не только избранные секции (приводит к падениям вида Unknown DataSource: solomon) * Раньше не стреляло, потому что фактически использовался внешний конфиг, в котором были соответствующие секции, теперь везде используется прикопанный Каждое исправление в отдельном коммите commit_hash:e11fc737f3f7cef33e059f99e83da5ce71d0ca17
* Revert commit rXXXXXX, Use GatewaysConfig from QContext everywhereziganshinmr2026-04-012-17/+10
| | | | commit_hash:99d6ca3cadc8392f047b6b9d06609e9c31d96e8d
* YQL-21111: Introduce MaxLangVer for SQL-builtinsmariibykova2026-04-011-1/+5
| | | | commit_hash:25917781fc20f16e0e9e0256508433cc01d79379
* Replace unreachable with *_ENSURE(false, ...)atarasov52026-04-011-1/+1
| | | | commit_hash:7c1445375e838a9327006528cb455c9899e9b32d
* Intermediate changesrobot-piglet2026-04-0110-18/+146
| | | | commit_hash:678ddd528fdedaa5663fa98a2c2960dda89e244b
* Use GatewaysConfig from QContext everywhereziganshinmr2026-03-312-10/+17
| | | | | Use gateways config from replay data \+ patch everywhere (except SqlTranslation due to custom save/load logic (patch applied)) commit_hash:0125d63d98767309f7d009df054a4c72c5537bc5
* YQL-21080: Provide access to AsOptionalType as a SQL Builtinmariibykova2026-03-311-1/+6
| | | | commit_hash:f5c4c85829dbf0cc700619b62e676ee3bd843c24
* YQL-20095: Enable modernize-use-designated-initializersvitya-smirnov2026-03-174-16/+14
| | | | | https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-designated-initializers.html commit_hash:d73eb463c7bec2bda4c362aab10af49979a7ddd3
* YQL-20793 Introduced universal fuzzer (disabled by now)vvvv2026-03-162-0/+6
| | | | commit_hash:fb4b261fd65c7efb90b2275bbf69935d3087b5b9
* YQL-20538: Introduce --test-triple-formatvitya-smirnov2026-03-122-7/+23
| | | | | | | | | | | | | Can not enable an option `--test-double-format` because a lot of Query Replay failures which are hard to fix, so introducing this option to temporarly relax the formatter requirements to enable at least such check on a Query Replay. It is not enabled in tests, because a `--test-double-format` is already enabled there and it is more strict. Also fixed a bug with multiline comments NL preservation. commit_hash:3c42dcf4b0b00026a97643a0031d2a3a8a319a1a
* YQL-20861: introduce untyped lambda fuzzervvvv2026-03-103-9/+7
| | | | commit_hash:09458afa76df2a5ac04b35e483807b1d8a742dad
* YQL-20095: Enable modernize-raw-string-literalvitya-smirnov2026-03-061-1/+1
| | | | | https://clang.llvm.org/extra/clang-tidy/checks/modernize/raw-string-literal.html commit_hash:80a511a46b35539fa1f834d4fb5de452ccfbe0ac
* YQL-20998: Remove EmitReadsForExistsvitya-smirnov2026-03-051-1/+0
| | | | | | | Removed a check and usages of `EmitReadsForExists` from the `yql/essentials`. There are a lot of YQLs code recanonized because sometimes an extra block with return was emitted and sometimes is not, but the YQLs is equivalent. commit_hash:a4ec2a575177eff4063da017b4d9ee96e06f3740
* YQL-20933: Untrack Datums produced by gen scriptimunkin2026-03-047-7/+58
| | | | commit_hash:f32886d91018d21ce1f8a579d69cb4b435df58aa
* YQL-20095: Enable modernize-use-usingvitya-smirnov2026-03-041-1/+1
| | | | commit_hash:ea1f0987ec40e3e683c35bffb64b7f5ab35e73ed
* Intermediate changesrobot-piglet2026-03-032-4/+5
| | | | commit_hash:a66d1ef65085fb8e8bfe860b8b7a95cbc5793851
* YQL-20095: Enable modernize-pass-by-valuevitya-smirnov2026-03-021-4/+5
| | | | commit_hash:4939dfad654f18bb31e40711ee0c39063889f17b
* YQL-20095: Enable modernize-loop-convertvitya-smirnov2026-02-271-5/+5
| | | | | | | | - 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-261-1/+3
| | | | commit_hash:d7143d999c6383c49b3e32ea07930fde8292ce15
* Intermediate changesrobot-piglet2026-02-241-27/+34
| | | | commit_hash:00083104632b4aa64300ea04e015da54c58395ff
* YQL-20095: Enable bugprone-exception-escapeatarasov52026-02-201-0/+6
| | | | commit_hash:a511b90dbd2eadcf32cc5d75130da6c9d4efaa52
* YQL-20095: Enable modernize-avoid-c-arraysvitya-smirnov2026-02-1916-33/+34
| | | | commit_hash:da491ee93c4f4d3c885c7908a22b4d5d66c80388
* Intermediate changesrobot-piglet2026-02-062-2/+2
| | | | commit_hash:c1acbb89857acf40764b131b015b4be9bafd0aee
* YQL-20095: Enable misc-use-anonymous-namespacevitya-smirnov2026-02-051-4/+12
| | | | | - https://clang.llvm.org/extra/clang-tidy/checks/misc/use-anonymous-namespace.html commit_hash:746be9b9db256111b2fb6ab4d89844746deebcda
* Intermediate changesrobot-piglet2026-02-042-0/+10
| | | | commit_hash:0c1c75de30a71da784ce915edab703196c78eb85