FrommyMind opened a new issue, #24815:
URL: https://github.com/apache/doris/issues/24815

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   apache-doris-2.0.1-bin-x64 with avx2
   
   ### What's Wrong?
   
   When I was trying to execute command `analyze table table_name`  with fe web 
, got error:
   
   ```java
   Execution failed: Error Failed to execute sql: java.lang.Exception: 
Unsupported statement type
   ```
   <img width="1614" alt="image" 
src="https://github.com/apache/doris/assets/5416876/238b95f1-35a7-4c32-b608-2b417e22ee5a";>
   
   
   but when execued that command with mysql client, it worked as expected.
   
   
   
   <img width="1238" alt="image" 
src="https://github.com/apache/doris/assets/5416876/b68dd706-b2ab-4fa4-b07d-d4f0ea051a99";>
   
   
   ### What You Expected?
   
   we can execute all command or sql with fe web as same as with mysql client.
   
   ### How to Reproduce?
   
   execute blow sql with fe we
   ```sql
   create table sales_records(record_id int, seller_id int, store_id int, 
sale_date date, sale_amt bigint) distributed by hash(record_id) 
properties("replication_num" = "1");
   insert into sales_records values(1,1,1,"2020-02-02",1);
   
   
   select * from sales_records;
   
   analyze table sales_records;
   ```
   
   and with mysql client.
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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