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 2022/09/22 10:27:06 UTC
[GitHub] [doris] caiconghui opened a new issue, #12874: [Bug] set enable_projection to false will cause select stmt analyze failed
caiconghui opened a new issue, #12874:
URL: https://github.com/apache/doris/issues/12874
### 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
master and lts
### What's Wrong?
set enable_projection=false;
select count() from (select a, b from table001 order by b limit 1) a
then throw exception like the following
ERROR 1105 (HY000): errCode = 2, detailMessage = couldn't resolve slot descriptor 0
### What You Expected?
work
### How to Reproduce?
_No response_
### 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: commits-unsubscribe@doris.apache.org.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] [doris] yiguolei closed issue #12874: [Bug] set enable_projection to false will cause select stmt analyze failed
Posted by GitBox <gi...@apache.org>.
yiguolei closed issue #12874: [Bug] set enable_projection to false will cause select stmt analyze failed
URL: https://github.com/apache/doris/issues/12874
--
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] [doris] caiconghui commented on issue #12874: [Bug] set enable_projection to false will cause select stmt analyze failed
Posted by GitBox <gi...@apache.org>.
caiconghui commented on issue #12874:
URL: https://github.com/apache/doris/issues/12874#issuecomment-1254836058
mysql> show columns from baseall;
+-------+----------------+------+-------+---------+---------+
| Field | Type | Null | Key | Default | Extra |
+-------+----------------+------+-------+---------+---------+
| k0 | BOOLEAN | Yes | true | NULL | |
| k1 | TINYINT | Yes | true | NULL | |
| k2 | SMALLINT | Yes | true | NULL | |
| k3 | INT | Yes | true | NULL | |
| k4 | BIGINT | Yes | true | NULL | |
| k5 | DECIMAL(9,3) | Yes | true | NULL | |
| k6 | CHAR(5) | Yes | true | NULL | |
| k10 | DATE | Yes | true | NULL | |
| k11 | DATETIME | Yes | true | NULL | |
| k7 | VARCHAR(20) | Yes | true | NULL | |
| k8 | DOUBLE | Yes | false | NULL | MAX |
| k9 | FLOAT | Yes | false | NULL | SUM |
| k12 | VARCHAR(65533) | Yes | false | NULL | REPLACE |
| k13 | LARGEINT | Yes | false | NULL | REPLACE |
+-------+----------------+-----
select count() from (select k0, k1 from baseall order by k1 limit 1) a
--
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