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

Allow DROP VIEW and DROP MATERIALIZED VIEW #21

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

recidinick
Copy link

The DeleteTables function was only dropping tables, despite the rest of the project being aware of all BigQuery table types. This PR moves those table types to internal/types to be used more easily, and then checks for the table type when dropping a table.

@ohaibbq I had made a different candidate branch candidate/rb20240815, but saw that our fork of this repo and go-zetasqlite have some mismatch with goccy's when I rebased it (both ours and his have quite a few changes). Do you think it would be easier to get our forks in sync before getting this change in? (I'm not sure what the upstream response time is).

This change would unblock a few issues for us, so I'd be happy to make a new release for us with this change and then spend some time contributing to syncing with goccy when I am back from PTO.

@ohaibbq
Copy link

ohaibbq commented Nov 12, 2024

Let's make a new release to candidate/rb20240328. I had spent some time in August rebasing but did not follow through with a release. I'm likely going to plan some emulator maintenance for Q1 which would include getting our fork up to date.

Copy link

@ageiduschek ageiduschek left a comment

Choose a reason for hiding this comment

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

Congrats on your first emulator PR!! Thanks for taking this on 🙂

Comment on lines +1 to +5
"""
This example creates a dataset, table, and view,
shows that the output of the table and view are expected,
and removes the dataset, table, and view.
"""

Choose a reason for hiding this comment

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

😍 incredible!!

@recidinick recidinick merged commit e0022cb into candidate/rb20240328 Nov 13, 2024
5 checks passed
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