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 2020/06/13 03:23:14 UTC
[GitHub] [incubator-doris] kangkaisen opened a new issue #3855: select list support subquery
kangkaisen opened a new issue #3855:
URL: https://github.com/apache/incubator-doris/issues/3855
```
mysql> SELECT a+b*2+c*3+d*4,
-> CASE a+1 WHEN b THEN 111 WHEN c THEN 222
-> WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END,
-> (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d<t1.d),
-> c
-> FROM t1
-> WHERE (c<=d-2 OR c>=d+2)
-> ORDER BY 4,2,1,3;
ERROR 1064 (HY000): errCode = 2, detailMessage = Subquery is not supported in the select list.
```
----------------------------------------------------------------
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.
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] kangkaisen closed issue #3855: select list support subquery
Posted by GitBox <gi...@apache.org>.
kangkaisen closed issue #3855:
URL: https://github.com/apache/incubator-doris/issues/3855
--
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