gavinchou commented on code in PR #43533:
URL: https://github.com/apache/doris/pull/43533#discussion_r1836837761


##########
fe/fe-core/src/test/java/org/apache/doris/qe/StmtExecutorTest.java:
##########
@@ -801,4 +802,59 @@ public void testUseWithCatalogFail(@Mocked UseStmt 
useStmt, @Mocked SqlParser pa
 
         Assert.assertEquals(QueryState.MysqlStateType.ERR, 
state.getStateType());
     }
+
+    @Test
+    public void testBlockSqlAst(@Mocked UseStmt useStmt, @Mocked SqlParser 
parser) throws Exception {

Review Comment:
   test `create file`, `create function` statment too
   
   also test some commands that should not be blocked



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to