htyoung opened a new issue, #14043: URL: https://github.com/apache/doris/issues/14043
### 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 version:1.1.3-rc02 ### What's Wrong? Test SQL: select coalesce(col1,"all") as `col1` ,count(*) as `cnt` from ( select null as col1 union all select "a" as col1 ) t group by grouping sets ( (col1) ,() ) ; ### What You Expected? The expected result is: col1 cnt all 2 all 1 a 1 but the actual result is : col1 cnt NULL 2 all 1 a 1 so, I test the similar sql with hive, mysql(8.0+ and 5.7+) also get the expected result. <img width="949" alt="image" src="https://user-images.githubusercontent.com/9734567/200318848-4cd3f10e-fbba-47ce-92bf-925b5c4c2732.png"> <img width="402" alt="image" src="https://user-images.githubusercontent.com/9734567/200319156-df0e4dec-ce61-48f7-a48f-9cfeed6c9fa5.png">  ### How to Reproduce? just run the test sql directly ### 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-unsubscr...@doris.apache.org.apache.org 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