Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support deleting multiple tables and wildcards #4949

Merged
merged 2 commits into from
Jul 3, 2019

Conversation

saifalharthi
Copy link
Contributor

This PR addresses #4947
Added small modification to the parser and added parser test. Will add end to end test to check if its working properly

go/vt/sqlparser/sql.y Outdated Show resolved Hide resolved
@saifalharthi saifalharthi marked this pull request as ready for review June 27, 2019 17:58
unsharded keyspaces

Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
@dkhenry dkhenry requested a review from sougou July 1, 2019 20:08
@@ -2062,6 +2076,12 @@ table_name:
$$ = TableName{Qualifier: $1, Name: $3}
}

delete_table_name:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wouldn't allow a construct like delete a, b.* from.... However, I think it's ok because we've already gone above and beyond on this.

@sougou sougou merged commit 3543a7f into vitessio:master Jul 3, 2019
@harshit-gangal harshit-gangal deleted the sa-support-wildcard branch May 9, 2023 09:52
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.

2 participants