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

   ### 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
   
   Related PR:  #10700 
   
   ### What's Wrong?
   
   Be core when executing tpc-ds sql q98:
   ```sql
   SELECT
     i_item_id
   , i_item_desc
   , i_category
   , i_class
   , i_current_price
   , sum(ss_ext_sales_price) itemrevenue
   , ((sum(ss_ext_sales_price) * 100) / sum(sum(ss_ext_sales_price)) OVER 
(PARTITION BY i_class)) revenueratio
   FROM
     store_sales
   , item
   , date_dim
   WHERE (ss_item_sk = i_item_sk)
      AND (i_category IN ('Sports', 'Books', 'Home'))
      AND (ss_sold_date_sk = d_date_sk)
      AND (CAST(d_date AS DATE) BETWEEN CAST('1999-02-22' AS DATE) AND 
(CAST('1999-02-22' AS DATE) + INTERVAL  '30' DAY))
   GROUP BY i_item_id, i_item_desc, i_category, i_class, i_current_price
   ORDER BY i_category ASC, i_class ASC, i_item_id ASC, i_item_desc ASC, 
revenueratio ASC
   ```
   
   ### What You Expected?
   
   sql successfully executed
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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

Reply via email to