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

   ### 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 4.0.1
   
   ### What's Wrong?
   
    SELECT  *
       FROM view_name
   ORDER BY a ASC, b
   LIMIT 100; 视图的列过度裁剪,除order by的a,b列,其余列为空 create view a as SELECT
       c1,c2,c3
   FROM (
       SELECT
                *
           FLOOR(
               TIMESTAMPDIFF(
                   HOUR,
                   DATE_SUB(datatime1, INTERVAL 10 DAY),   
                   COALESCE(datatime2, CURRENT_TIMESTAMP())  
               ) / 24
           ) AS c
       FROM table
   ) t1 
   
   ### What You Expected?
   
   修正这个bug,
   
   ### 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