-
Notifications
You must be signed in to change notification settings - Fork 40
Add enum, constants for data loader #2386
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
Torch3333
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, thank you!
komamitsu
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! 👍
I left a minor comment, but it doesn't block this PR from being merged.
| public static final String IMPORT_LOG_ENTRY_STATUS_FIELD = "data_loader_import_status"; | ||
| public static final String TABLE_LOOKUP_KEY_FORMAT = "%s.%s"; | ||
|
|
||
| public static final String LOG_UPDATE_SUCCESS = "Row %s has been updated in table %s.%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.
I guess this will be used like String.format(LOG_UPDATE_SUCCESS, namespace, table), but IntelliJ doesn't detect parameter mismatch like String.format(LOG_UPDATE_SUCCESS, namespace) in this way. It might be a slight drawback.
brfrn169
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! Thank you!
Co-authored-by: Peckstadt Yves <peckstadt.yves@gmail.com>
Co-authored-by: Peckstadt Yves <peckstadt.yves@gmail.com>
Co-authored-by: Peckstadt Yves <peckstadt.yves@gmail.com>
Co-authored-by: Peckstadt Yves <peckstadt.yves@gmail.com>
Co-authored-by: Peckstadt Yves <peckstadt.yves@gmail.com>
Co-authored-by: Peckstadt Yves <peckstadt.yves@gmail.com>
Description
This PR adds enum, constants (messages) and DTO classes that will be used in the data loader.
They are handled in separate PR now so that we can speed up the merge and start with the core code for the export process.
Related issues and/or PRs
NA
Changes made
Added below for data loader
Checklist
Additional notes (optional)
This PR is part of the on-going process of merging all ScalarDB Data Loader code into the main repository.
Release notes
NA