diff options
author | vityaman <[email protected]> | 2025-04-02 21:25:29 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-04-02 21:36:46 +0300 |
commit | bf8b24c06de4df2df3bf8e40e82caba8f5528301 (patch) | |
tree | c7dac59cb55d4e7d9127dfe7a00ccd5ebbac9d73 /yql/essentials/sql/v1/complete/sql_complete.cpp | |
parent | 66b85e2f81db12f8a7086e50bf40b19303b4622d (diff) |
YQL-19747 Complete token sequences
Token sequences plan
- [x] [Easy] Support `GROUP BY`, `ORDER BY`.
- [x] [Easy] Support `Optional<`, `List<`, `Dict<`.
- [x] [Easy] Support `Avg(`, `Sum(`.
---
Co-authored-by: Victor Smirnov [[email protected]]
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1173
commit_hash:a443dec666c486fef7f891be04d68a786be83049
Diffstat (limited to 'yql/essentials/sql/v1/complete/sql_complete.cpp')
-rw-r--r-- | yql/essentials/sql/v1/complete/sql_complete.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yql/essentials/sql/v1/complete/sql_complete.cpp b/yql/essentials/sql/v1/complete/sql_complete.cpp index b73aafe0a4f..74ddbc04154 100644 --- a/yql/essentials/sql/v1/complete/sql_complete.cpp +++ b/yql/essentials/sql/v1/complete/sql_complete.cpp @@ -102,6 +102,7 @@ namespace NSQLComplete { return {ECandidateKind::TypeName, std::move(name.Indentifier)}; } if constexpr (std::is_base_of_v<TFunctionName, T>) { + name.Indentifier += "("; return {ECandidateKind::FunctionName, std::move(name.Indentifier)}; } }, std::move(name))); |