-
Notifications
You must be signed in to change notification settings - Fork 197
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
diff: fix num is nil #250
diff: fix num is nil #250
Conversation
/run-integration-tests |
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
names := []string{"d", "b", "c", "b", "a"} | ||
ages := []int{1, 2, 3, 4, 5} | ||
ids := []string{"3", "2", "2", "4", "1", "NULL"} | ||
names := []string{"d", "NULL", "c", "b", "a", "e"} |
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 can add more test cases to increase code path coverage later (easy to find out which code is not covered after added some coverage integration tool).
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.
ok
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
* diff: add connection manage (#237) * column-mapping: set schemaID/tableID to 0 if numeric suffix is missing (#236) * column-mapping: set schemaID/tableID to 0 if numeric suffix is missing * column-mapping: demand an explicit separator * pkg/column-mapping: addressed comments * column-mapping: addressed comments * diff: some minor fix (#242) * remove row_id (#240) * diff: update column's length for checkpoint table (#245) * diff: add integration test (#239) * diff: fix num is nil (#250)
What problem does this PR solve?
fix issue https://internal.pingcap.net/jira/browse/TOOL-1289
What is changed and how it works?
judge whether data is nil at the first when compare data
Check List
Tests
Related changes