SinyoWong opened a new issue, #21464:
URL: https://github.com/apache/doris/issues/21464

   ### 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
   
   Doris 1.2.2
   
   ### What's Wrong?
   
   "errCode = 2, detailMessage = couldn't resolve slot descriptor" error 
happens when using  GROUPING SETS in subquery,
   when the query without the metric column,error happens :
   
![image](https://github.com/apache/doris/assets/38577585/5d69dbf3-a85b-4932-ac1c-b0f9a59846bc)
   when add the column `pod` , the query is ok :
   
![image](https://github.com/apache/doris/assets/38577585/53ba90c0-6250-46c3-ae01-65e188d81a52)
   when add a DIY column `diy_column` , the query is ok :
   
![image](https://github.com/apache/doris/assets/38577585/c033e634-be87-483b-810c-1f7ef5c84f35)
   
   
   ### What You Expected?
   
   the query should be work with or with not the metric column or the DIY 
column .
   
   ### 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]

Reply via email to