You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "zhuangchong (via GitHub)" <gi...@apache.org> on 2023/09/27 05:05:32 UTC
[GitHub] [incubator-paimon] zhuangchong opened a new pull request, #2078: [cdc] Optimize Duplicate Field Detection in MySQL CDC Schema Building.
zhuangchong opened a new pull request, #2078:
URL: https://github.com/apache/incubator-paimon/pull/2078
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
### Purpose
<!-- Linking this pull request to the issue -->
Optimize Duplicate Field Detection in MySQL CDC Schema Building.
<!-- What is the purpose of the change -->
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-paimon] yuzelin commented on a diff in pull request #2078: [cdc] Optimize Duplicate Field Detection in MySQL CDC Schema Building.
Posted by "yuzelin (via GitHub)" <gi...@apache.org>.
yuzelin commented on code in PR #2078:
URL: https://github.com/apache/incubator-paimon/pull/2078#discussion_r1339449387
##########
paimon-flink/paimon-flink-cdc/src/main/java/org/apache/paimon/flink/action/cdc/CdcActionCommonUtils.java:
##########
@@ -140,8 +140,9 @@ public static String columnCaseConvertAndDuplicateCheck(
if (caseSensitive) {
return column;
}
- checkArgument(existedFields.add(column.toLowerCase()), columnDuplicateErrMsg.apply(column));
- return column.toLowerCase();
Review Comment:
Here I think we can keep the filed name case in error message.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-paimon] zhuangchong merged pull request #2078: [cdc] Optimize Duplicate Field Detection in MySQL CDC Schema Building.
Posted by "zhuangchong (via GitHub)" <gi...@apache.org>.
zhuangchong merged PR #2078:
URL: https://github.com/apache/incubator-paimon/pull/2078
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-paimon] zhuangchong commented on pull request #2078: [cdc] Optimize Duplicate Field Detection in MySQL CDC Schema Building.
Posted by "zhuangchong (via GitHub)" <gi...@apache.org>.
zhuangchong commented on PR #2078:
URL: https://github.com/apache/incubator-paimon/pull/2078#issuecomment-1738425677
Thanks. @yuzelin
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-paimon] zhuangchong commented on a diff in pull request #2078: [cdc] Optimize Duplicate Field Detection in MySQL CDC Schema Building.
Posted by "zhuangchong (via GitHub)" <gi...@apache.org>.
zhuangchong commented on code in PR #2078:
URL: https://github.com/apache/incubator-paimon/pull/2078#discussion_r1339460559
##########
paimon-flink/paimon-flink-cdc/src/main/java/org/apache/paimon/flink/action/cdc/CdcActionCommonUtils.java:
##########
@@ -140,8 +140,9 @@ public static String columnCaseConvertAndDuplicateCheck(
if (caseSensitive) {
return column;
}
- checkArgument(existedFields.add(column.toLowerCase()), columnDuplicateErrMsg.apply(column));
- return column.toLowerCase();
Review Comment:
is reserved, the variable used in the error message is `column`, and the returned result variable is `columnLowerCase`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org