heguanhui commented on code in PR #51376:
URL: https://github.com/apache/doris/pull/51376#discussion_r2115222879


##########
fe/fe-core/src/main/java/org/apache/doris/planner/IcebergTableSink.java:
##########
@@ -83,6 +86,9 @@ public void bindDataSink(Optional<InsertCommandContext> 
insertCtx)
             throws AnalysisException {
 
         TIcebergTableSink tSink = new TIcebergTableSink();
+        if (targetTable.isView()) {
+            throw new UnsupportedOperationException("IcebergTableSink does not 
support view");
+        }

Review Comment:
   already fixed and committed



##########
fe/fe-core/src/main/java/org/apache/doris/datasource/iceberg/IcebergMetadataOps.java:
##########
@@ -372,6 +389,48 @@ public Table loadTable(String dbName, String tblName) {
         }
     }
 
+    @Override
+    public boolean viewExists(String dbName, String viewName) {

Review Comment:
   already fixed and committed



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