shuwenwei commented on code in PR #17627:
URL: https://github.com/apache/iotdb/pull/17627#discussion_r3212845886


##########
iotdb-core/calc-commons/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/node/TableScanNode.java:
##########
@@ -107,8 +104,9 @@ public TableScanNode(
   protected TableScanNode() {}
 
   @Override
+  @SuppressWarnings("unchecked")
   public <R, C> R accept(IPlanVisitor<R, C> visitor, C context) {
-    return ((PlanVisitor<R, C>) visitor).visitTableScan(this, context);

Review Comment:
   visitTableScan should not stay in datanode PlanVisitor after TableScanNode 
is moved to node-commons



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to