morningman opened a new issue #6792: URL: https://github.com/apache/incubator-doris/issues/6792
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version trunk 5f3559a ### What's Wrong? ``` CREATE TABLE `tbl1` ( `k1` int(11) NULL COMMENT "", `k2` bigint(20) NULL COMMENT "" ) ENGINE=OLAP DUPLICATE KEY(`k1`, `k2`) COMMENT "OLAP" DISTRIBUTED BY HASH(`k1`) BUCKETS 1 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "in_memory" = "false", "storage_format" = "V2" ); create view v1 as select * from tbl1; create view v2 as select * from v2; select * from v2; ERROR 1248 (42000): errCode = 2, detailMessage = Every derived table must have its own alias ``` ### What You Expected? Working well ### How to Reproduce? as above ### Anything Else? This bug is introduced from #6736 ### 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]
