Skip to content

Commit

Permalink
Vector index USING syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
azevaykin committed Jul 12, 2024
1 parent 2f41631 commit 7cbbfc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ydb/library/yql/sql/v1/SQLv1.g.in
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ table_constraint:
;

table_index: INDEX an_id table_index_type
(USING table_index_subtype)?
(WITH LPAREN an_id EQUALS an_id (COMMA an_id EQUALS an_id)* COMMA? RPAREN)?
ON LPAREN an_id_schema (COMMA an_id_schema)* RPAREN
(COVER LPAREN an_id_schema (COMMA an_id_schema)* RPAREN)?;
Expand All @@ -728,6 +729,8 @@ table_index_type:
global_index: GLOBAL UNIQUE? (SYNC | ASYNC)?;
local_index: LOCAL;

table_index_subtype: VECTOR_KMEANS_TREE;

changefeed: CHANGEFEED an_id WITH LPAREN changefeed_settings RPAREN;
changefeed_settings: changefeed_settings_entry (COMMA changefeed_settings_entry)*;
changefeed_settings_entry: an_id EQUALS changefeed_setting_value;
Expand Down

0 comments on commit 7cbbfc3

Please sign in to comment.