Skip to content

Conversation

@LuckySting
Copy link
Contributor

Problem

Now it is impossible to drop existed index:

index.drop(connection)

leads to exception:

Unexpected token \'DROP\' : cannot match to any predicted input...\n
SQL: 
DROP INDEX <index_name>

Proposed solution

Added an implementation of DROP INDEX to the dialect, so now it render query as:

ALTER TABLE <table> DROP INDEX <index>;

which is a YQL correct statement.

@vgvoleg vgvoleg merged commit bff441c into ydb-platform:main Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants