yangzhg opened a new issue #3373: URL: https://github.com/apache/incubator-doris/issues/3373
for now doris only support binary predict of subquery in case when clause like ``` SELECT CASE WHEN ( SELECT COUNT(*) / 2 FROM t ) > k4 THEN ( SELECT AVG(k4) FROM t ) ELSE ( SELECT SUM(k4) FROM t ) END AS kk4 FROM t; ``` not support `in` or `exists` in subquery like ``` select case when k1 in (select k1 from baseall) then "true" else k1 end a from baseall; select case k1 when exists (select 1) then "empty" else "p_test" end a from bigtable; ``` ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org