| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Can I use your `soroka` for push YQL part of a new feature for YDB, please?
[There](https://github.com/ydb-platform/ydb/pull/21672) is the original PR approved by Fomichev an Puchin which can't be committed directly to YDB github.
Type: feature
Component: yql
---
Co-authored-by: Tony-Romanov [[email protected]]
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1414
commit_hash:c98a7b656a050b09976f22f1470ba0ab5bbb52c2
|
| |
|
|
|
|
| |
RFC: https://nda.ya.ru/t/vPsncOoC7HttdF
GitHub Issue: https://github.com/ydb-platform/ydb/issues/18695
commit_hash:96445a9aef7b1fede372b9e4c60b30eb9ef5fdc1
|
| |
|
|
|
|
|
| |
Fixed an absence of candidates at `$x = (sel#)`
as of `subselect_stmt` ignorance at the
`YQLConfiguration`.
commit_hash:5a841d63fad104599a791953f2f89b8791816115
|
| |
|
|
|
|
| |
- Collect only named node definitions
- Fix qualified column after WHERE
commit_hash:641977921329199e645c3ac45ae8053a5d0e8b13
|
| |
|
|
|
|
|
| |
Table function `RANGE` is commonly used, so some
support for a table path inference is required. It
is done by doing ``` `prefix` || '/' || `min` ```.
commit_hash:4bec2a84a0ee8f6d97c92a46b4c4ebc7b41c4d7c
|
| |
|
|
| |
commit_hash:d54496a7e3d9bd72e53ce880691a59490a34a138
|
| |
|
|
| |
commit_hash:44a39f94ad6f9407cb9e493cbf88ef28b320586e
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
Before this PR unsupported objects were filtered,
but we would like to show even unsupported object
types as unknown name candidates.
commit_hash:04c64b6e28717c3c19927d49eeedec7515608c22
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Played with the autocomplete and found some issues:
https://nda.ya.ru/t/1F9ioYe37HVwo2.
- Supported `min`, `max` parameters of the `RANGE` table
function, respecting `prefix`.
- Supported cluster detecton at table function, e.g.
`SELECT * FROM plato.RANGE(Input1, Input2)`.
- Made column filter not to ignore a table alias.
- Supported keyword as identifier parsing.
- Supported `ID_QUOTED` as table alias.
commit_hash:9e9ff13373cd059e6a240ddff0ae18f599d790c0
|
| |
|
|
| |
commit_hash:a9c400c784ed04924390abb11509664e6576a3b7
|
| |
|
|
|
|
|
|
| |
Fixed an absence of column candidates at `SELECT * FROM t WHERE a#`.
The problem was with a `IsEnclosing` procedure, because here the cursor
is actually outside the `select_core` now there is a `_` symbol that
enlarge this rule text range.
commit_hash:0b493cb469333f9a37c923b06267ac026efeb2c9
|
| |
|
|
| |
commit_hash:64ad6b4138ee27f474b440e8ef3e07fac1935346
|
| |
|
|
|
|
|
| |
- Generated Monarch configuration as a JSON.
- Added test files for `*.yql` and `*.yqls`.
- Screenshots: https://nda.ya.ru/t/LgOjOxcs7HJQyS.
commit_hash:dddf747c54780332b54fca3e9e9b52c88a9736f5
|
| |
|
|
| |
commit_hash:4ee9d9b9079b90e8eeb91accc41d6a3a30c3a18c
|
| |
|
|
|
|
|
|
|
| |
- Migrated GetId to a Partial Evaluation function.
- Centeralized named expressions collection.
- Centeralized query parameters resolution.
- Supported symbols resolution and concatenation.
- Migrated USE and Columns Syntesis on the evaluation.
commit_hash:fafedc4330bcd4a7ab607ae1d5f2691a2f5a60f2
|
| |
|
|
|
|
| |
Replaced hardcoded types list at highlighting generator with core
enumerator.
commit_hash:68fa56ed73fabf015a2469ed6bcc4e2481456647
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Support `Before` at core `TRegexPattern` and `IGenericLexer`.
- Added `Name` and `Extension` to core `THighlighting`.
- Added `Tighlighting` for `YQLs` factory method.
- Added `--language` option to `yql_highlight`.
- Added `artifact` targets for `YQLs`.
Yes, using the `NSQLTranslation::THighlighting` for
`YQLs` is not correct, but much simplier than generalize
this infrastructure just for a `YQLs`. So here is a
trade-off between development time and a clean code.
Results:
- JetBrains: https://nda.ya.ru/t/PXkZVE8m7H5wHS.
- Vim: https://nda.ya.ru/t/Am-6ZHQa7H5wJi.
- TextMate: https://nda.ya.ru/t/wH0YggAf7H5wKw.
- yql_highlight: https://nda.ya.ru/t/3FaCm57q7H7QSF.
commit_hash:f0e1abb8e7f1b083df531d761b357330bd514cb0
|
| |
|
|
|
|
|
|
| |
- Introduced the Generator interface.
- Made tool to generate content to stdout and file.
- Supported TextMate Bundle, tested on IDEA and TextMate.
- Fixed UDF highlighting priority.
commit_hash:bcbc446a2fe58da3400f0e981a03d821b8f77dae
|
| |
|
|
| |
commit_hash:b807590d35f109a7e66e6f2fc86bed811e1b8890
|
| |
|
|
| |
commit_hash:c0ba1e1b769fc35ecc458fc556b00493f26f75d1
|
| |
|
|
|
|
|
|
|
| |
Introduced `links.json` format to link names to
documentation sections. Implement general links
verification framework. Also fixed two small typos.
Extended Description: https://nda.ya.ru/t/zR4voivb7GzD9r.
commit_hash:e72db0e202b4ff612374c73fa384f70d029f0ef0
|
| |
|
|
| |
commit_hash:78445e1b3b0bb001e0d08b36fd4d31bcd9e37eb4
|
| |
|
|
|
| |
Return persistable expression from FLATTEN BY clause
commit_hash:8b19ad7f7ddf436c2741f9aa1c5402732fc31f06
|
| |
|
|
|
|
|
| |
Move complex handlers to the table
Extract simple pragma implementations
commit_hash:cb0ebc041fd6d848e9d7701b0ca7db19965cd314
|
| |
|
|
|
| |
I forgot to add it.
commit_hash:d4829c1e1b23f65d0e8673874e622af4aaa3c9d3
|
| |
|
|
| |
commit_hash:d439bc377d223113786f60db8fcec45585658d40
|
| |
|
|
|
| |
The last fix of the Monaco Editor named expr filtration.
commit_hash:542d6b9f549f8037057fccf5a898ec1f74718748
|
| |
|
|
|
|
|
|
|
| |
- Fixed multiline tokens
- Fixed REAL number display
- Disabled punctuation highlighting
- Refactored by extracting properties
to core highlighting
commit_hash:a2d1eb6e4e49b1cb785b90accbdecebe977faa13
|
| |
|
|
|
|
|
|
|
|
| |
Symbol `$` was excluded from the `BindingName`
candidate content as `Replxx` interprets `$` as
a word break. The problem is that Monaco Editor
accounts `$` as a word part and filters out bindings.
This patch makes `$` a word part and adds replace
range to handle this properly at `Replxx`.
commit_hash:ca3959635a6c0e6688bcbe7622a9c2aab6c683eb
|
| |
|
|
| |
commit_hash:ce61d0c6dad2e170eface04d63918adc1082e56e
|
| |
|
|
|
|
|
|
|
| |
Когда-то давно (когда еще YQL жил в github) была поставлена задача - поддержать SET/DROP NOT NULL на колонку. DROP NOT NULL был сделан и давно уже существует в main: <https://github.com/ydb-platform/ydb/pull/6342>.
Однако с SET NOT NULL возникли определенные сложности, поэтому был сделан отдельный пулл реквест: <https://github.com/ydb-platform/ydb/pull/6341>. Как видно, ПР так и не вмержили по причине увольнения автора кода. Недавно задача всплыла вновь, поэтому надо доделать.
В этом пулл реквесте добавляется код в грамматику YQL новое выражение - `ALTER TABLE t ALTER COLUMN c SET NOT NULL`, которая добавляет ограничение `NOT NULL` на колонку.
commit_hash:f310061b13666418c46309ea32032fbce68fb865
|
| |
|
|
| |
commit_hash:d95cb665e7dd63f67ee4ef7a2602f1c9ec34d26f
|
| |
|
|
|
|
|
|
|
|
| |
Introduced a Vim syntax highlighting for YQL.
This is a replacement for an existing almost
manually written conguration. It uses regexes
generated from the original ANTLR4 grammar.
Now only Default lexer mode is supported.
commit_hash:85fa094593bd9d80373754a492b46ede1a50148d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a bug with a aggregation deduplication
by a column at the translator.
For a single column the system joining all
aggregations using the generic key. The
generic key was just a column name without
source name what leads to collision when
aggregating multiple different sources with
same column names.
This patch fixes the generic key by adding a
data source name there. Also tests are added.
commit_hash:1c0a9da512f68c58d2830e096de76b769b733cb2
|
| |
|
|
|
|
|
| |
There was a mistake, because actually EXCEPT
has the same precedence as UNION. INTERSECT has
higher precedence than.
commit_hash:20375ef498861c6704571161fa3c4eebf54e895c
|
| |
|
|
| |
commit_hash:98f460965618cdddf9fc25373b20741b4e85a303
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Added table functions completion.
- Also fixed a bug when USEd cluster
was not added to table context at table
function argument.
- Complete folder names at `prefix`
of `LIKE`, `RANGE`, etc.
commit_hash:26be383be728796e8431f906e2815acd77645ad4
|
| |
|
|
| |
commit_hash:2c408c6ee755878a488f1591510d196d1bf5fba1
|
| |
|
|
|
|
| |
I missed that a query parameter key starts with
'$'.
commit_hash:1a24953b4f837da31db2201b9a9ffd0eef0c6b34
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Introduce `UNION` and `INTERSECT/EXCEPT` grammar rules
for precedence. Rewrote `Build` procedure into `BuildStmt`,
`BuildUnion`, `BuildIntersection`. Added tests, modify format.
It took a lot of time trying to adapt the existing `Build` procedure.
The I noticed that the logic for `union` and `intersection` is
different, since `union` groups arguments into bundles, but
`intersection` is a strictly binary operation.
commit_hash:70008ae3c2603364b6dfbeeb189fdc7f5237433d
|
| |
|
|
| |
commit_hash:a497dfe8863a864913c1d6df4b28edbe7d8e4bba
|
| |
|
|
|
|
| |
Related to <https://nda.ya.ru/t/DMAUQona7GBKMA>.
There was a problem with a binding ranking.
commit_hash:6dbd96ec883562c4e03778a8487b2843be189ce7
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LSP supports the following propoerty of the
completion item, that supports Markdown format:
```
/**
* A human-readable string that represents a doc-comment.
*/
documentation?: string | MarkupContent;
```
I added docs only for a few items just to check a
look in the UI. Also some docs are shortened.
Documentation is opt-in decorator for a
NameService. Because it is not needed in the
YDB CLI, for example.
commit_hash:b400ed1224be2906b7fb1da29e9c97aa7578d710
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- YQL-19747: Remove unused header
- YQL-19747: Remove NameSet alias
- YQL-19747: Fix identifier typo
- YQL-19747: Cosmetics
- YQL-19747: Receive NameRequest as const ref
- YQL-19747: Remove string_util.h
- YQL-19747: Change engine.Complete
- YQL-19747: Remove configuration typedef
- YQL-19747: Rename context to local
commit_hash:451a6ba7c08e670a492222a29463be40a627c867
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LSP protocol has a property
```
/**
* A string that should be used when filtering a set of
* completion items. When omitted the label is used as the
* filter text for this item.
*/
filterText?: string;
```
It is useful, e.g. when we prepend some punctuation
at a candidate content, but still want to filter by
prefix, ignoring that punctuation.
Related to https://nda.ya.ru/t/KCkzjhXS7G3Epg.
commit_hash:01f258218d312eef764350bd4d78da15acb8c9ea
|
| |
|
|
| |
commit_hash:79ad481a8734a11e954d4a38e1218b17e116700c
|
| |
|
|
|
|
|
|
|
| |
Also fixed a bug when the same table used with
and without an alias produced duplicated column
names. This is incorrect at translator, but anyway
we need to handle it gracefully. Also refactored
some utility methods like context union.
commit_hash:45a12675e865bb9d929e5e5178e16239a763d1f5
|
| |
|
|
|
|
| |
Table can have not `ID_PLAIN` columns and we
should return them as `ID_QUOTED`.
commit_hash:f5850228a3191ab84e3740fc1c36cf8882b08c40
|
| |
|
|
|
|
|
| |
Before this patch we completed columns only at
SELECT projection. Now we complete it at these
constructions. Also it respects visibility rules.
commit_hash:aa1e6d4900e9b032801ddbf3bcd347750c2939b1
|