| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
| |
Fix sql reflect for windows
commit_hash:86917fd6c5887d21e342f6df4ed1fa8700266a9a
|
| |
|
|
| |
commit_hash:635c8def3bba6890d2d80b418fca9bec6cbd4b73
|
| |
|
|
|
|
|
|
|
|
|
| |
Some refactorings to compact the code:
- YQL-19747: Pass TParsedInput to visitor
- YQL-19747: Add TParsedInput
- YQL-19747: Cosmetics
- YQL-19747: Refactor configuration
- YQL-19747: Refactor name to candidate mapping
commit_hash:44dfe7dc7bcc627ef9c20696077f2d962a3014f6
|
| |
|
|
|
| |
Support `SELECT x.* FROM t AS x`.
commit_hash:64693f65281f385d6c0d3541fb2874b0153aa88c
|
| |
|
|
|
|
|
|
|
|
|
| |
There was a problem with parsing a query like
`SELECT # FROM t`, as it parsed `FROM` as if it
is an expeceted column name, so we failed to parse
a table name after `FROM` and therefore can not
complete column names, while the are so useful at
this position. Also this hack improved parsing
other queries, according to changed tests.
commit_hash:f5a657022a164d1d4bbf906db4bd2ad67bbcd956
|
| |
|
|
|
|
|
|
| |
Fixed a bug on self-join, as
table path was used as a key
to match columns with tables
instead of an alias.
commit_hash:0f9735a4c5ba0b2b88efc764bc5e7f5d41633fd8
|
| |
|
|
| |
commit_hash:40a2de243a67135e44505619fb766954ba24e2e8
|
| |
|
|
| |
commit_hash:4c68311d9e875b6643dd49aae1c385aace4ca978
|
| |
|
|
|
|
|
| |
Collect tables with aliases during global
analysis and send a multiple requests
to a schema provider.
commit_hash:51cbc40cee6cda09d5bfe256a0425e7c809c04f5
|
| |
|
|
|
|
|
|
| |
Set `TCandidate::Shift` for functions and generic
types. So now brackets are balanced and UI should
adopt it. YDB CLI is ready for the update and just
cut off symbols after an expected cursor position.
commit_hash:9efc1110869af7be618b841c6c132572b61046a1
|
| |
|
|
|
|
|
| |
Bug was that titlecase columns are not completed
on lowercase prefix, e.g. `SELECT a# FROM x`,
where `x = {Age}`.
commit_hash:e48f73176e94bcf16671af56d232450e368c9909
|
| |
|
|
| |
commit_hash:70eea6b3e17f4aafae5eadb49724ba9036a55372
|
| |
|
|
| |
commit_hash:632e24794e8bcf6ef0502b7e8c031e964d28d36a
|
| |
|
|
| |
commit_hash:67576d4a9e4a1f4bbbb204bcb0b98c255009b1da
|
| |
|
|
|
|
| |
Now it is possible to pass clusters schema
via a JSON file using `-s` flag.
commit_hash:fd579430968881627c77d4586464952176134dc5
|
| |
|
|
|
|
|
|
| |
When table `folder/table` exists. On prefix
``` SELECT * FROM `folder/ ``` users want to
accept ``` table` ``` rather than just `table`.
This patch is about it.
commit_hash:12d36cbf037db91f49136ab8e013b160a28b5b1b
|
| |
|
|
| |
commit_hash:56c7deefce71a95f10a4738b0a51e6ba384dd983
|
| |
|
|
| |
commit_hash:6d67ec1fa5023083debd89aaa99950019ca37c90
|