You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/10/04 14:40:42 UTC
[GitHub] [incubator-doris] morningman opened a new issue #6792: [Bug] Failed query a logic view which based on another view.
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [incubator-doris] morningman closed issue #6792: [Bug] Failed query a logic view which based on another view.
Posted by GitBox <gi...@apache.org>.
morningman closed issue #6792:
URL: https://github.com/apache/incubator-doris/issues/6792
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org