starocean999 commented on code in PR #49118:
URL: https://github.com/apache/doris/pull/49118#discussion_r2059653554


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -6638,6 +6642,70 @@ public LogicalPlan 
visitAlterColumnStats(DorisParser.AlterColumnStatsContext ctx
     }
 
     @Override
+    public List<ChannelDescription> 
visitChannelDescriptions(DorisParser.ChannelDescriptionsContext ctx) {
+        List<ChannelDescription> channelDescriptions = new ArrayList<>();
+        for (DorisParser.ChannelDescriptionContext channelDescriptionContext : 
ctx.channelDescription()) {
+            List<String> soureParts = 
visitMultipartIdentifier(channelDescriptionContext.source);
+            if (soureParts.size() != 2) {
+                throw new ParseException("only support mysql_db.src_tbl", 
channelDescriptionContext.source);
+            }
+            TableNameInfo srcTableInfo = new TableNameInfo(soureParts);
+
+            List<String> targetParts = 
visitMultipartIdentifier(channelDescriptionContext.destination);
+            if (targetParts.isEmpty()) {
+                throw new ParseException("contains at least one target table", 
channelDescriptionContext.destination);
+            }
+            TableNameInfo targetTableInfo = new TableNameInfo(targetParts);
+
+            PartitionNames partitionNames = null;

Review Comment:
   use PartitionNamesInfo



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to