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

Alter table sql support #9460

Closed
wants to merge 20 commits into from

Conversation

lichuang
Copy link
Collaborator

@lichuang lichuang commented Jan 4, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

feat: It is not a pr for review, it just a craft pr for running unit tests of alter table modification.

@vercel
Copy link

vercel bot commented Jan 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Jan 14, 2023 at 3:03PM (UTC)

@Xuanwo
Copy link
Member

Xuanwo commented Jan 5, 2023

it just a craft pr for running unit tests of alter table modification

This means our CI is so fast and stable that our develops can depend it for tests.

Thank @everpcpc's great work!

@@ -297,6 +298,73 @@ impl DataBlock {
Ok(DataBlock::create(schema.clone(), columns))
}

// If field_marks[i].is_some(), then DataBlock.column[i] = num_rows * DataField.default_value().
// Else, DataBlock.column[i] = chuck.columns[i]
Copy link
Member

Choose a reason for hiding this comment

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

Please rebase with main :)

@lichuang
Copy link
Collaborator Author

lichuang commented Feb 9, 2023

This a poc pr, alter table add\drop column support has been merged from this pr:

so this pr is closed.

@lichuang lichuang closed this Feb 9, 2023
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.

None yet

3 participants