luocooong commented on a change in pull request #2436:
URL: https://github.com/apache/drill/pull/2436#discussion_r793142009



##########
File path: 
contrib/format-iceberg/src/main/java/org/apache/drill/exec/store/iceberg/plan/IcebergPluginImplementor.java
##########
@@ -144,14 +141,18 @@ public boolean splitProject(Project project) {
 
   @Override
   public boolean canImplement(Project project) {
-    return true;
+    return hasIcebergGroupScan(project);
   }
 
   @Override
   public GroupScan getPhysicalOperator() {
     return groupScan;
   }
 
+  private boolean hasIcebergGroupScan(RelNode node) {

Review comment:
       It seems that this validation rule also applies to #2389?




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