summaryrefslogtreecommitdiffstats
path: root/yql/essentials
Commit message (Collapse)AuthorAgeFilesLines
* YQL-20072: Fix leakmrlolthe1st6 days1-7/+12
| | | | commit_hash:a234cd10cf3d80de474aa717e317b2a996707eed
* Support partition pruninganeporada6 days1-0/+36
| | | | commit_hash:6dc6b146a933e0037e8facbe36299d2a65384c2f
* Complete protection of logging setup via mutexesngc2246 days1-2/+8
| | | | commit_hash:4006eec02296551bc0aaa60ab4d84810af46a1c2
* YQL-20086 ya style exceptionsvvvv6 days4-0/+4
| | | | commit_hash:0ce22f019b23d4e9d4ab9cc7fd544cb7b473873e
* YQL-20436: Translate `SELECT .. FROM VALUES ..` to `YqlSelect`vitya-smirnov7 days40-98/+1478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current `SQLv1` translation produces relatively low level `YQLs` constructions that are hard to match during later optimizations, for example, subqueries unnesting. Also it assumes that expressions are only depend on corresponding source row, which is not true for correlated subqueries. Both limitations blocks currelated subqueries implementation. Although the problem exists for `SQLv1`, it is already solved for `PG` syntax. There PostgreSQL-produced AST is converted to special `YQLs` "bulk select" node called `PgSelect`. It is more declarative and expanded later than translation. This fact helped to support correlated subqueries, which with `PgSelect` are type-checkable and decorrelatable (not generally, but heuristically). This patch is the first step forward to "bulk select" translation for `SQLv1`. As there are a lot of code already written for `PgSelect` and `PG` and `SQLv1` relatively similar, I decided to rebrand `PgSelect` into more general `SqlSelect` node. It seems that for some near future goals `PgSelect` should be enough. There was 2 problems solved: 1. `PgSelect` comes with `OrderedColumns` by default and its implementation tightly coupled with it. 2. `PgSelect` does Pg type casts. This patch contains following changes: - Added pragma `YqlSelect = 'disable' | 'auto' | 'force'` - Added `YqlSelect` (`PgSelect` alias) translation - Changed `PgSelect` wrappers to support `YqlSelect` - Changed `PgSelect` expanders to support `YqlSelect` commit_hash:8a55d63e06c22592b2029dd260bbd259194e92dc
* Intermediate changesrobot-piglet8 days291-0/+0
| | | | commit_hash:c106c0b4122e4493aa70f0007e98dff850405f05
* YQL-20504: Fix formatting check in QPlayersvitya-smirnov8 days9-82/+173
| | | | commit_hash:cbb6bbe39c72e2322d57a38ded86cda07c68a419
* Intermediate changesrobot-piglet8 days4-8/+0
| | | | commit_hash:c0fc049f490c77f6663fa43931ad6a975922ef85
* YQL-20086 invert flagvvvv11 days321-3378/+2768
| | | | commit_hash:a6b640bc576263b62884a0b4187ba79c893e13d9
* YQL-20425: Fix UBSanatarasov511 days13-15/+32
| | | | commit_hash:542a9c3e054146d270700a469d6ba81b5022e539
* YQL-20072: Init pragma Layer and yt.LayerCachesmrlolthe1st11 days28-11/+928
| | | | commit_hash:9199da15c695cf5c8a492750a8bcfbb0f31c0b34
* YQL-20339 Python UDF supportvvvv11 days22-2/+484
| | | | | init commit_hash:2a30a1b920f341e1f9250df382dd951604a0894f
* YQL-20425: Fix ubsan failed tests (Part 1)atarasov511 days6-147/+213
| | | | commit_hash:90e32586fa204001c09a220f1fd739e0dc16bdbc
* Mute some checks improved in clang-tidy20 in yqlmikhnenko12 days2-7/+7
| | | | | Original errors you can see [here](https://nda.ya.ru/t/OlFnpgnP7L8aiS commit_hash:54941c5afadf626d30f5a9ab60de7b29ab625926
* YQL-20445: Calculate lineage in testsmaxkovalev12 days8-12/+82
| | | | commit_hash:6bf28c5a731c7325efa6bbe915c4a4920673c844
* YQL-20350: Fix singular typesatarasov512 days18-54/+324
| | | | commit_hash:b776960a1c683287ff0b5b23d95b2d48b0edccb5
* YT-25914: [cbo] use column DataWeight + update cost function + add version ↵lucius12 days5-0/+38
| | | | | | | | | | | | | pragma Новая кост-функция для cbo. Под флагом чтобы удобнее сравнивать со старой. 2 изменения: - Для оценки размера входных таблиц используется поколоночный dataweight (если есть), а не таблица целиком - В самой кост-функции убран outputSize, чтобы он не учитывался дважды: он неявно учтен в каждом следующем джоине как левый либо правый inputSize, а размер результата последнего джоина не зависит от перестановки джоинов commit_hash:d130848393114b1b4383035381dba7767aac62fb
* YQL-20425: Fix ubsan failed tests (Part 7)atarasov512 days2-6/+11
| | | | commit_hash:2026d14a75fbe4bd05e203b0be13d604f519ced3
* Purge unused methodatarasov512 days2-15/+0
| | | | commit_hash:6da8e6f40f78cb66bd622a9111e58b8d60898e5e
* YQL-20086 minikqlvvvv12 days636-54786/+57202
| | | | commit_hash:e96f7390db5fcbe7e9f64f898141a263ad522daa
* Intermediate changesrobot-piglet12 days1-2/+2
| | | | commit_hash:af20c2824301545bbe2783b121ac69332efc2b3e
* YQL-20496: Improve YQL highlightingvitya-smirnov12 days11-15/+125
| | | | commit_hash:edf72fd8386c41f858f677152612bd58680506a6
* YQL-20491: Fix ambiguity detection at YQLFacadeRunvitya-smirnov12 days3-14/+18
| | | | commit_hash:9e956b00ed2c0891c42c9d432b62bd7a6edc8202
* Disable Uniq/Distinct by default. Enable in testsudovichenko-r13 days3-0/+10
| | | | commit_hash:39033d97d7639a4749a6955577df43aba47bcef0
* YQL-20086 core (part1)vvvv13 days173-6475/+6693
| | | | commit_hash:12dbda4defcaef8dd708a69552fc19eba832ce2f
* Implement partitions() table functionaneporada13 days5-0/+72
| | | | commit_hash:19bbcd26d46a4ca8d18f0dbae605b48ac823c614
* Intermediate changesrobot-piglet13 days3-4/+13
| | | | commit_hash:39978afd806b807ddc0b745f048c16bc98afd9c0
* YQL-20086 parservvvv13 days35-987/+1034
| | | | commit_hash:dd605e5cde39ff07fdadf62f0c2364a8b12c8405
* YQL-20086 publicvvvv13 days227-12171/+12484
| | | | commit_hash:68b0c2e9c2960587af7d57ecedcb38f4d05890b7
* YQL-20086 providersvvvv14 days148-6501/+6221
| | | | commit_hash:a675bf6d0296252a9fe2303b8f0a9e88c923087d
* Intermediate changesrobot-piglet14 days1-102/+102
| | | | commit_hash:deac7e37af3e0c34a9d17c765a750685cd5f527b
* YQL-20086 sql/v1vitya-smirnov14 days223-23903/+23654
| | | | commit_hash:55bc611cdaa0d8a0fc3c4c7708ed9f17cc4976cf
* Intermediate changesrobot-piglet2025-10-0659-1508/+1530
| | | | commit_hash:ab4976b763ebd56a8961ed2ba5e9f289926a0086
* Revert "YQL-10295: Do not call outproc resolver when no udfs/imports"mrlolthe1st2025-10-061-15/+9
| | | | | | This reverts commit a82011223b480c04eab778fb9d35b140c1120157, reversing changes made to ee62d973b35319e18d8c8763d6be1ae210b6e9f8. commit_hash:7497b73299af7ce7443c576ab01fd5be2556f07d
* YQL-20086 typesvvvv2025-10-0621-304/+345
| | | | | init commit_hash:f9e4bd83d745532d51e4440381d9cfb73d8b64d3
* YQL-20425: Fix ubsan failed tests (Part 5)atarasov52025-10-0610-19/+384
| | | | commit_hash:186928592877a5314065818802435a95221f6346
* Intermediate changesrobot-piglet2025-10-066-12/+36
| | | | commit_hash:618c69f7a3090bbeb975dea6d222c8bc7f41314d
* YQL-20425: Fix ubsan tests (part 6)atarasov52025-10-061-1/+1
| | | | commit_hash:d2cc5bdd92d46a975e2bf20b3b97e2b5db7b1fa1
* YQL-20086 udfsvvvv2025-10-06174-16310/+16316
| | | | | init commit_hash:f9684778bf1ea956965f2360b80b91edb7d4ffbe
* YQL-20086 utilsvvvv2025-10-06129-2747/+2968
| | | | | init commit_hash:54feccd520ebd0ab23612bc0cb830914dff9d0e8
* support consumers' availability_period setting in the yqlswarmer2025-10-065-26/+72
| | | | | KIKIMR-24054 commit_hash:b7c840d6f25ec732f818f8760e8ce8819393901e
* YQL-20116: Introduce ANTLR4 ambiguity detectionvitya-smirnov2025-10-0625-79/+277
| | | | | | - Ignored 2 known ambiguities. - Tested tools. commit_hash:9e29bb2f876dabc68293b3e5c26a470d373506ae
* Intermediate changesrobot-piglet2025-10-03139-136/+274
| | | | commit_hash:c3c929f4005b33d2fddb492bbc2c553125d9ad40
* Intermediate changesrobot-piglet2025-10-031-0/+10
| | | | commit_hash:5cbaf5434b1a393755ef2709ed27d22038681a6c
* YQL-20086 ast fixvvvv2025-10-031-29/+31
| | | | | init commit_hash:d67bcebcfba4bf3afc216e61e970451609332a93
* Intermediate changesrobot-piglet2025-10-031-1/+11
| | | | commit_hash:bae4c0693bea21daa09eb9fb12478a5611ae5ffc
* CalcOverWindow fuse fixziganshinmr2025-10-034-17/+68
| | | | commit_hash:3cc0ca5c687c7623fb16e77fb3a9043071a2478b
* YQL-10295: Do not call outproc resolver when no udfs/importsmrlolthe1st2025-10-031-9/+15
| | | | commit_hash:a82011223b480c04eab778fb9d35b140c1120157
* YQL-20086 astvvvv2025-10-0330-5438/+5783
| | | | | init commit_hash:89d6b4ea7383b4155af171f44b946fc80550d517
* YQL-20086: Format yql/essentials/sql/v1/highlightvitya-smirnov2025-10-0211-423/+524
| | | | | | | | | | | | | | | | This patch adds a style check for `yql/essentials/sql/v1`. To format use `ya style`. To test use `ya test ya test --test-type clang_format`. To enable style checking in a module, need to add: `ENABLE(YQL_STYLE_CPP)`. So in a such way we gradually will format all YQL modules, expect those, where fluent YQL-builders are used. Then we will revert activation macro, so switch from `ENABLE(YQL_STYLE_CPP)` to`ENABLE(YQL_STYLE_CPP_XFAIL)`. Guide: <https://nda.ya.ru/t/XzkoRIGg7KjXmq>. commit_hash:fa758a214e094c74821fe896184f30483dd18c55