summaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/expr
Commit message (Collapse)AuthorAgeFilesLines
* YQL-20804: Fix Decimal type conversionatarasov57 days3-0/+12
| | | | | | | | | | | | | #### `YQL-20804`: Fix Decimal type conversion ✎ - Enhanced type annotation system to properly handle Decimal type conversions by introducing a new `EDecimalConversionMode` configuration option that allows controlling how common types are computed for Decimal values - Modified core type annotation functions to accept and utilize a `TTypeAnnotationContext` parameter, ensuring consistent type resolution across join operations and type conversions - Updated join-related functions and peephole optimizations to pass type context information, fixing issues with Decimal type compatibility during join key processing - Added comprehensive unit tests to verify Decimal type conversion behavior and ensure proper casting between different Decimal precisions and scales - Extended type annotation infrastructure to support both strict and lenient Decimal conversion modes, improving error handling and type inference for edge cases <a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a> commit_hash:f4ec01ad79cb2f3219b529118380747828075e6b
* YQL-21307: Suppress invalid application on PartialTypeCheckvitya-smirnov2026-06-301-0/+3
| | | | | | | | | | | | | | | Added the `ExpandApplyUniversal` pass for partial type annotation. A binding can be resolved to a lambda during a full typecheck, but during a partial typecheck, a module resolver is limited and can return a universal value. A series of the `ExpandApply` applications can lead to some arguments being discarded, e.g. `(Apply (lambda '(a b) a) X Y)` discards `Y` during a full typecheck, but not partial, so arguments at `(Apply (InstanceOf (UniversalType)) X Y)` are type checked, and so partial type check had a greater recall. commit_hash:7573df489129be47aa66d74d0f4b96086166c3ba
* Intermediate changesrobot-piglet2026-06-2516-16/+0
| | | | commit_hash:da9e5d384dc00d37d939afe28f789f2f608acb0e
* Intermediate changesrobot-piglet2026-06-25127-127/+0
| | | | commit_hash:d17bed0c3f0053f8f24a0e6f3053213ed5fbf423
* Intermediate changesrobot-piglet2026-06-2468-69/+0
| | | | commit_hash:16b28b4a2fa4a98d0bef3efe97d563373903df25
* YQL-21321 deep error check for EnsurePersistablevvvv2026-06-162-0/+22
| | | | | | | | | | | | #### Deep error checking for EnsurePersistable ✎ - Replaced shallow error checking with comprehensive error detection in `EnsurePersistable` functions to ensure all type annotation errors are properly identified - Introduced new `HasAnyError` function that performs thorough error traversal to catch nested or indirect type errors - Updated test cases to verify error handling behavior and ensure proper error reporting for incompatible types in SQL operations - Enhanced type annotation validation to provide more reliable persistence checks for expression nodes <a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a> commit_hash:019e5924e7d6bdfea7fa46be3da3615b17727b76
* YQL-21292 fixed switching of cycle detector & better diagsvvvv2026-06-051-0/+25
| | | | commit_hash:1a546dc230518eb6846155c77db762e4d83281d5
* YQL-21228 fix nulled == over variantsvvvv2026-05-121-0/+3
| | | | commit_hash:72d0f5c9f96875682a71eb11e67783a723112cce
* YQL-21128: create AsOptionalmariibykova2026-04-301-0/+12
| | | | commit_hash:c998ba15db7c4e5137f44904de85755aa7322e8e
* YQL-16594 hide warnings in some casesvvvv2026-04-231-0/+2
| | | | commit_hash:a201cbc3a08b7bad471d4d6a15f3dfc3f63d989b
* YQL-21034: Convert integers to Uint64 at ListSampleNmariibykova2026-04-205-56/+47
| | | | commit_hash:f508795113ebbfadfb1bc05529f4af46ae7837d2
* YQL-21165 fixvvvv2026-04-151-1/+1
| | | | commit_hash:ea278625098c2a9c0ad3bfbab7b981d3cc556020
* YQL-20773 PositionOf & WithIssuevvvv2026-04-018-0/+29
| | | | commit_hash:fd9981b64488aca88d19a45aa956d80eab220cb8
* YQL-21026: Fix IS DISTINCT from pg and nullatarasov52026-04-011-0/+18
| | | | commit_hash:fb14ee5b8cca07451478bfbffcc9a2f0b3d751f5
* YQL-20437,YQL-20999 fixesvvvv2026-03-042-0/+5
| | | | commit_hash:6544bfe8edc1e65a4e7a9e02b37d465b0d4b4ae6
* YQL-20804: revertmrlolthe1st2026-02-103-10/+1
| | | | commit_hash:b026ec39db72b2d1e632d62cb034fc173e04b79b
* YQL-20804: Fix CommonType for decimalsmrlolthe1st2026-02-063-1/+10
| | | | commit_hash:a5b4f6d8fb83b1dddbc461eb5e3832e359f4951a
* YQL-20799 non recursive TExprNode destroy & better depth limitsvvvv2025-12-182-0/+13
| | | | commit_hash:f4afa523e18d1aff50fb701cea2b0c39fd33213d
* YQL-20713 better FlattenMembersvvvv2025-11-271-0/+11
| | | | commit_hash:00baeecf15bee9cd2ae069392b690f0f40bfe7fe
* YQL-20673 Graph cycle detectorvvvv2025-11-258-0/+22
| | | | commit_hash:a8a7fef19b3cc3445a177192748b987ff6b80786
* YQL-20564 fixed singular types availabilityvvvv2025-10-241-0/+1
| | | | commit_hash:59fbd02c0cb455f6670e3e85ea9f5436f4e4f7c8
* YQL-20555 nullifvvvv2025-10-212-0/+2
| | | | commit_hash:4a2e71c935ef62a45d8fd13f180e81464a446441
* YQL-20520 concat (w/o runtime)vvvv2025-10-202-0/+7
| | | | commit_hash:0b092481cfb4813c26c165c17f6d05a9f1f88481
* Intermediate changesrobot-piglet2025-10-0320-0/+20
| | | | commit_hash:c3c929f4005b33d2fddb492bbc2c553125d9ad40
* YQL-20226: Wrap unpickle with try catchatarasov52025-09-262-0/+7
| | | | commit_hash:96e8a09d23befb758e60a6e01f691868331af968
* YQL-20368: Improve unimplemented literal errorvitya-smirnov2025-09-031-0/+3
| | | | commit_hash:27dc40f323e5d24af0dae4f3917a63248f8f8386
* YQL-20340: Fix getelem comp nodeatarasov52025-08-288-0/+293
| | | | commit_hash:4b93115d4e3d46770946a7a462c7413d6183282f
* Intermediate changesrobot-piglet2025-08-13176-0/+0
| | | | commit_hash:e6cca97ec9c9627f1ba82a11abf454518fc90972
* YQL-20205 added struct type validationvvvv2025-07-232-0/+4
| | | | | init commit_hash:beef3d18a5b85dc793380a01249358243137df70
* YQL-19845 CurrentLanguageVersion funcvvvv2025-04-221-1/+2
| | | | commit_hash:2af511a18740c931b471dc1f2ff36a8b4ce573a8
* opt. index for DynamicVariant YQL-19499vvvv2025-01-271-2/+2
| | | | commit_hash:cdf713319f6b37f19e986df843edf28ab9991d7a
* Intermediate changesrobot-piglet2025-01-243-0/+5
| | | | commit_hash:821873ed79a58bc9db93f62564a7c6aeb50608de
* DynamicVariant YQL-19499vvvv2025-01-241-0/+7
| | | | commit_hash:b609442fce4217e33f5d5421582e4a145afde95d
* Intermediate changesrobot-piglet2025-01-226-0/+11
| | | | commit_hash:aa7d8a48a8c461511b5cae5b9b943f8f16b6933c
* YQL-19261 Add implicit Decimal castavevad2025-01-155-0/+58
| | | | commit_hash:c555086fbd49035556302b3ac571f4ac91877974
* YQL-19196 Remove optional over NullType in SpreadMembersavevad2025-01-111-0/+8
| | | | commit_hash:d59d08bbca99c0be75c6f2f41a4f20ad8847647e
* Intermediate changesrobot-piglet2024-12-2721-0/+77
| | | | commit_hash:170e724b371baded6fdcbc5f6b63da52252c1598
* Intermediate changesrobot-piglet2024-12-2654-333/+0
| | | | commit_hash:d6e69042088451340ac37dd3d928f2cb483a54e9
* YQL-19163 Fix StaticFold behavior with optional args lambdasavevad2024-12-131-1/+13
| | | | commit_hash:bbea0c78d15d9ba627f15182d80dd2406a494b93
* YQL-19123 Move default argument in VisitOrDefaultavevad2024-12-112-2/+2
| | | | | Change order of arguments in VisitOrDefault commit_hash:60f1e45096fa62bca6c999fb14abf81754f51e1a
* Introduced two stages mode for type annotation, a FailMe callable to ↵vvvv2024-12-096-0/+15
| | | | | | | | | simulate optimization failures В обычном select 1 \|\| 2 теперь выдается ошибка в InitialTypeAnnotation stage А ошибка на RepeatTypeAnnotation stage эскалируется до Severity=Fatal commit_hash:fb09693b4baf9e14bfe7dae9a8a9cd4b9e0e0142
* YQL-19123 More SQL features for Variant typeavevad2024-12-093-0/+86
| | | | | More SQL features for Variant type commit_hash:51c15343e2d24190ec59085888dfa3fd008cafcc
* Check custom error in xfail tests. Remove canonization from dq/hybrid testsudovichenko-r2024-11-2313-1/+13
| | | | | | | | | | | | | | | 1. xfail тесты теперь должны содержать спец комментарий `custom error` с ожидаемым текстом ошибки 2. Все suites для xfail размечены спец. коментариями, некоторые тесты разбиты на несколько 3. Включены тесты с Python и Javascript udf для yt провайдера и переканонизированы (были отключены в github) 4. Для тяжелых xfail тестов аналогично убрана канонизация и включена проверка по спец. коментарию 5. Из dq_file/hybrid тестов убрана канонизация. Осталась только кросс-проверка результатов с yqlrun и блочным режимом 6. В dqrun теперь используется exception_policy вместо fail_policy (для корректной выдачи ошибок в тестах) commit_hash:a92b3835f86b0c01225e81e3f28bb6d11d8d67a3
* ListSample/ListSampleN/ListShuffle implementationziganshinmr2024-11-216-0/+92
| | | | commit_hash:987b10b398caa89eee8b94b33f9ea1dc74197223
* YQL-19206 Move contrib/ydb/library/yql/tests/sql/suites -> ↵udovichenko-r2024-11-19210-0/+2899
yql/essentials/tests/sql/suites commit_hash:d0ef1f92b09c94db7c2408f946d2a4c62b603f00