-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 temporary table #24169
Labels
challenge-program
sig/sql-infra
SIG: SQL Infra
type/enhancement
The issue or PR belongs to an enhancement.
Comments
tiancaiamao
added
the
type/enhancement
The issue or PR belongs to an enhancement.
label
Apr 20, 2021
This was referenced Apr 20, 2021
This was referenced May 8, 2021
@djshow832 we can possibly use format
instead of and thus we get more info while keep link click magic. |
This was referenced May 27, 2021
This was referenced Jun 1, 2021
Merged
This was referenced Jun 2, 2021
This was referenced Jun 22, 2021
This was referenced Jul 2, 2021
This was referenced Jul 2, 2021
@tiancaiamao @djshow832 @xhebox is this task finished? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
challenge-program
sig/sql-infra
SIG: SQL Infra
type/enhancement
The issue or PR belongs to an enhancement.
Development Task
A temporary table is a special table whose rows data are only temporarily available.
For a global temporary table, the table schema is visible to all the sessions, but the changes into the table are only available within the current transaction, when the transaction commits, all changes to the global temporary table are discarded.
For a local temporary table, it is visible only within the current session, and the table is dropped automatically when the session is closed.
Tech Design
Weekly Report
Proposal
Milestones
Stage 1
DDL @Howie59
create table like
ddl: add create table like check for temporary table #25082DML @tiancaiamao
temp_table_size
*: add global system variabletmp_table_size
#24827DQL
Transaction
Feature compatibility
(verified, add a test) @tiancaiamao executor: add a test case for 'tidb_constraint_check_in_place' on temporary table #24784tidb_constraint_check_in_place
variableTools compatibility @djshow832
BR: update TiDB module(already updated)https://github.com/pingcap/ticdc/pull/1923(already updated)Stage 2
DDL
grammar change for the local temporary table(already done by global temporary table)show create table
for a local temporary tabledrop global temporary table
can only drop global temporary table #26278DML
tidb_constraint_check_in_place
for insert and update #25923temp_table_size
#25928Transaction
Feature compatibility, most should have a same behavior with temporary table
Tests
GA
Stage 3
MemDB
The text was updated successfully, but these errors were encountered: