Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

[15721] Schema Change Final PR #1366

Open
wants to merge 61 commits into
base: master
Choose a base branch
from
Open

[15721] Schema Change Final PR #1366

wants to merge 61 commits into from

Conversation

DeanChensj
Copy link
Contributor

Overview:

  • Blocking schema changes implementation for Add/Drop column, Rename column, and Alter column type.
  • Junit test for ALTER TABLE / Rename operations.
  • Benchmark to compare ALTER TABLE performance against Postgress & MySQL.
  • Bugs fix and addressed previous comments.

Eg queries:

  • ALTER TABLE table_name ADD COLUMN column_name column_type, DROP column_name, ALTER column_name column_type;
  • ALTER TABLE table_name RENAME column_name TO column_name;

Known issues:

  • In wait-based txn management, per-table lock is need within alter_executor
  • Mulit-txn bugs as mentioned in issues @1356, can be fixed by merging pr @1327.
  • Dropping the last column in the table will crash the pelton.
  • Foreign Key constraints need to be addressed in the future work.

DeanChensj and others added 30 commits May 14, 2018 15:09
This reverts commit 6704d0e, reversing
changes made to 39fa518.
    - added alter and rename plan and statements
    - modified optimizor to bind db name and make plans
    - modified parsenodes
    - added node to string support and vice versa
    - added nodetransform of alter table
This reverts commit 6704d0e, reversing
changes made to 39fa518.
    - added alter and rename plan and statements
    - modified optimizor to bind db name and make plans
    - modified parsenodes
    - added node to string support and vice versa
    - added nodetransform of alter table
This reverts commit 6704d0e, reversing
changes made to 39fa518.
This reverts commit 6704d0e, reversing
changes made to 39fa518.
sxzh93 and others added 24 commits May 14, 2018 15:29
    - added alter and rename plan and statements
    - modified optimizor to bind db name and make plans
    - modified parsenodes
    - added node to string support and vice versa
    - added nodetransform of alter table
@coveralls
Copy link

coveralls commented May 15, 2018

Coverage Status

Coverage decreased (-0.9%) to 76.666% when pulling 19eac34 on sxzh93:final into 5686479 on cmu-db:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants