-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feature-wip](iceberg) Step2: add table creation strict mode and support refresh iceberg table or db. #7981
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
Conversation
…ort refresh iceberg table or db.
Change-Id: I75f8d54db9bd3729d0b67c80b53cc22ee90bc65b
| Map<String, String> dbProperties = db.getDbProperties().getProperties(); | ||
| // build iceberg properties | ||
| db.getDbProperties().addAndBuildProperties(dbProperties); | ||
| // 1. check database type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why calling addAndBuildProperties here?
|
|
||
| // 2. drop database | ||
| DropDbStmt dropDbStmt = new DropDbStmt(true, dbName, true); | ||
| catalog.dropDb(dropDbStmt); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There may be other type of tables in this database. If you drop it, all other tables will lost.
morningman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
Proposed changes
Issue Number: close #7980
Problem Summary:
iceberg_table_creation_strict_modeinfe.confto control iceberg external table creation, when data type is not supported in Doris.REFRESHsyntax to synchronize the Iceberg table and database.Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...