diff options
| author | udovichenko-r <[email protected]> | 2026-06-18 19:58:57 +0300 |
|---|---|---|
| committer | udovichenko-r <[email protected]> | 2026-06-18 20:38:07 +0300 |
| commit | ddedfffe40c70e7b353843176a4d4647c19bbba2 (patch) | |
| tree | 6d1c7a7e7e1d107b03c3d88386f1fed6fd0134c7 /yql/essentials/sql/v1/ide/completion/sql_complete_ut.cpp | |
| parent | 24590eaba442f1c9640d00bbb40909c11b135a37 (diff) | |
SQL parser + type annotation for Materialize statement
#### SQL Parser and Type Annotation for Materialize Statement ✎
- Added support for the `MATERIALIZE` SQL statement including parser rules and syntax highlighting updates
- Implemented type annotation and validation for the `MATERIALIZE` statement with proper error handling
- Enhanced SQL query processing to handle `MATERIALIZE` statements in various contexts including subqueries and limited views
- Added runtime support for `MATERIALIZE` operations with sort preservation and proper data sink handling
- Integrated `MATERIALIZE` into the SQL grammar and updated completion suggestions
- Added comprehensive unit tests covering various `MATERIALIZE` scenarios and edge cases
<a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a>
commit_hash:32b04f93ceadf624b4d39fd6512798f9354bfd80
Diffstat (limited to 'yql/essentials/sql/v1/ide/completion/sql_complete_ut.cpp')
| -rw-r--r-- | yql/essentials/sql/v1/ide/completion/sql_complete_ut.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yql/essentials/sql/v1/ide/completion/sql_complete_ut.cpp b/yql/essentials/sql/v1/ide/completion/sql_complete_ut.cpp index 6cb455ace11..092f7803a5e 100644 --- a/yql/essentials/sql/v1/ide/completion/sql_complete_ut.cpp +++ b/yql/essentials/sql/v1/ide/completion/sql_complete_ut.cpp @@ -206,6 +206,7 @@ Y_UNIT_TEST(Beginning) { {.Kind = Keyword, .Content = "IF"}, {.Kind = Keyword, .Content = "IMPORT"}, {.Kind = Keyword, .Content = "INSERT"}, + {.Kind = Keyword, .Content = "MATERIALIZE"}, {.Kind = Keyword, .Content = "PARALLEL"}, {.Kind = Keyword, .Content = "PRAGMA"}, {.Kind = Keyword, .Content = "PROCESS"}, @@ -430,6 +431,7 @@ Y_UNIT_TEST(Explain) { {.Kind = Keyword, .Content = "IF"}, {.Kind = Keyword, .Content = "IMPORT"}, {.Kind = Keyword, .Content = "INSERT"}, + {.Kind = Keyword, .Content = "MATERIALIZE"}, {.Kind = Keyword, .Content = "PARALLEL"}, {.Kind = Keyword, .Content = "PRAGMA"}, {.Kind = Keyword, .Content = "PROCESS"}, |
