TomaYoko opened a new issue, #40950: URL: https://github.com/apache/doris/issues/40950
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 2.1.7-rc01-28074b0aa2 ### What's Wrong? When execute following sql,final will return timeout. `SELECT * FROM ( SELECT c11 FROM (SELECT c1 c11 FROM test1 GROUP BY GROUPING SETS((c1)) HAVING GROUPING(c1) = 0) t1 ) t12 JOIN( SELECT c3 FROM ( SELECT DISTINCT s1.c1 c3 FROM test1 s1 CROSS JOIN test1 s2 WHERE s1.c1 = s2.c1 ) t3 ) t34 ON c3 = c11 ` --create table query CREATE TABLE test1 ( id VARCHAR(20), c1 int ) ENGINE=OLAP DUPLICATE KEY( id ) COMMENT "OLAP" DISTRIBUTED BY HASH( id ) BUCKETS auto PROPERTIES ( "replication_num" = "1" ); insert into test1 values ('a',1); ### What You Expected? someone capable can tell me the reason ### 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: [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]
