victory-wu opened a new issue, #38250:
URL: https://github.com/apache/doris/issues/38250

   ### 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
   
   2.0.13 
   
   ### What's Wrong?
   
    Error Failed to execute sql: java.sql.SQLException: (conn=6931) errCode = 
2, detailMessage = Table 'cls_export31156411866157057' is not a OLAP table
   
   ### What You Expected?
   
   export success
   
   ### How to Reproduce?
   
   create view cls_export31156411866157057 as select id as  '编号',  name as '姓名' 
 from cls where id > 10000;
   
   
   EXPORT TABLE cls_export31156411866157057 TO 
"s3://system/users/admin/export/" PROPERTIES("format" = 'csv_with_names') WITH 
s3 (
     "s3.endpoint" = "xx",
     "s3.region" = "xx",
     "column_separator" = ",",
     "s3.access_key" = "xx",
     "s3.secret_key" = "xx",
     "use_path_style" = "true"
   );
   
   ### Anything Else?
   
   
https://doris.apache.org/zh-CN/docs/2.0/sql-manual/sql-reference/Data-Manipulation-Statements/Manipulation/EXPORT?_highlight=export
   
   The document describes that it supports view,
   
   
   table_name
   ```
   The table name of the table currently being exported. Only the export of 
Doris local table / View / External Table data is supported.
   ```
   
   
![Snipaste_2024-07-23_16-49-24](https://github.com/user-attachments/assets/4c2e1372-4a32-4889-8ce7-d33149812b87)
   
   
   ### 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