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

implement drop temporary table ... and display temporary in show create table statements #2824

Merged
merged 5 commits into from
Jan 23, 2025

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Jan 22, 2025

In-memory database doesn't support temporary tables, so tests are here: dolthub/dolt#8781

fixes: dolthub/dolt#7992

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

Actually one comment here: need a couple engine tests for this behavior:

  1. DROP TEMPORARY TABLE when there's a durable table with the same name (durable table should still be there)
  2. DROP TEMPORARY TABLE when there's only a durable table exists with that name (should error)

James Cor added 2 commits January 22, 2025 15:03
@jycor jycor merged commit f5a5bce into main Jan 23, 2025
8 checks passed
@jycor jycor deleted the james/temp branch January 23, 2025 00:42
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.

SHOW CREATE TABLE doesn't include TEMPORARY for temporary tables
2 participants