You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2023/07/31 10:57:46 UTC

[GitHub] [incubator-paimon] JingsongLi commented on a diff in pull request #1660: [flink] fix rename table error in sync action

JingsongLi commented on code in PR #1660:
URL: https://github.com/apache/incubator-paimon/pull/1660#discussion_r1279134585


##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/sink/cdc/CdcMultiplexRecordChannelComputer.java:
##########
@@ -51,9 +57,13 @@ public void setup(int numChannels) {
 
     @Override
     public int channel(CdcMultiplexRecord multiplexRecord) {
+        int recordChannel =
+                computeChannelComputer(multiplexRecord) != null

Review Comment:
   reuse `computeChannelComputer(multiplexRecord)` to a local field



-- 
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