-
Notifications
You must be signed in to change notification settings - Fork 47
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
migrate: supports INSERT Statement #109
migrate: supports INSERT Statement #109
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
ba79ca8
to
519be57
Compare
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.
Thank you for your PR, @knwoop, and sorry that we could not get back to you sooner 🙇
I left one minor comment, but except that it looks good to me!
346bf98
to
4d503d5
Compare
@shuheiktgw Thank you for reviewing my PR! I appreciate your feedback and have addressed the comment. |
kindMap := map[statementKind]uint64{ | ||
statementKindDDL: 0, | ||
statementKindDML: 0, | ||
if len(statements) == 0 { // Treat empty files as DDL. |
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.
Note: this is treated as a DDL under the existing specifications.
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'll ask for a review from another engineer before merging 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!
WHAT
WHY