-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add TableMetadataService and utils #1772
base: master
Are you sure you want to change the base?
Conversation
* @param columnNames List of all column names in a table | ||
* @return The field is metadata or not | ||
*/ | ||
public static boolean isMetadataColumn( |
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.
We might be able to use ConsensusCommitUtils here. Could you please check it?
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, thank you!
I just have a minor comment.
DATA_LOADER_INVALID_COLUMN_KEY_PARSING_FAILED( | ||
Category.USER_ERROR, "0136", "Invalid key: Column %s does not exist in the table.", "", ""), | ||
DATA_LOADER_INVALID_VALUE_KEY_PARSING_FAILED( | ||
Category.USER_ERROR, "0137", "Parsing of key value %s failed. Details:%s.", "", ""), |
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.
Category.USER_ERROR, "0137", "Parsing of key value %s failed. Details:%s.", "", ""), | |
Category.USER_ERROR, "0137", "Parsing of key value %s failed. Details: %s.", "", ""), |
Converting to draft PR because, as Suzuki san mentioned, this PR might not be necessary. |
Description
This PR adds a service and utils that deal with ScalarDB TableMetada. This service and utils will be used for both export and import processes.
Related issues and/or PRs
This PR depends on the following PRs and should be reviewed and merged after:
Changes made
Checklist
Additional notes (optional)
NA
Release notes
NA