feiniaofeiafei opened a new pull request, #31600:
URL: https://github.com/apache/doris/pull/31600

   ```sql
   select sum(col_int_undef_signed + sum(col_int_undef_signed)) over (partition 
by(sum(col_int_undef_signed))
   order by sum(col_int_undef_signed)) from table_10_undef_undef4 group by
   grouping sets ((col_text_undef_signed,col_int_undef_signed)) 
   ```
   in  sum(col_int_undef_signed#1 + sum(col_int_undef_signed#2)) , 
col_int_undef_signed#1 should not be rewritten and col_int_undef_signed#2 
should be rewritten. This pr is to fix this problem.


-- 
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