morningman opened a new issue #6095:
URL: https://github.com/apache/incubator-doris/issues/6095


   **Describe the bug**
   ```
   create view v1 as select * from tbl1 where hour(now()) > 3;
   ```
   
   is rewritten to:
   
   ```
   create view v1 as select * from tbl1 where 23 > 3;
   ```
   
   The non-deterministic constant function in create view statement should not 
be rewritten.


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

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