w41ter commented on code in PR #39781:
URL: https://github.com/apache/doris/pull/39781#discussion_r1744758189


##########
fe/fe-core/src/main/java/org/apache/doris/binlog/DropTableRecord.java:
##########
@@ -39,7 +41,10 @@ public DropTableRecord(long commitSeq, DropInfo info) {
         this.dbId = info.getDbId();
         this.tableId = info.getTableId();
         this.tableName = info.getTableName();
-        this.rawSql = String.format("DROP TABLE IF EXISTS `%s`", 
this.tableName);
+        this.isView = info.isView();
+        this.rawSql = info.isView()
+            ? String.format("DROP VIEW IF EXISTS `%s`", this.tableName)
+            : String.format("DROP TABLE IF EXISTS `%s`", this.tableName);

Review Comment:
   It seems that apache doris hasn't DROP VIEW statement.



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