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

   ### 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
   
   执行select version()得到的版本是 5.7.99
   
   ### What's Wrong?
   
   **执行的sql都是官方文档array_range函数给的示例**
   
   
![image](https://github.com/apache/doris/assets/56187561/454d70f9-c8b9-482b-a650-5d0cf83ece62)
   
   
   **1、执行select array_range(10,20)没有问题**
   
   
![image](https://github.com/apache/doris/assets/56187561/8d077124-b297-4645-a654-85bb8d7b4c9a)
   
   **2、执行 select array_range(cast('2022-05-15 12:00:00' as datetimev2(0)), 
cast('2022-05-17 12:00:00' as datetimev2(0))) AS array_range_default;报错**
   
   
![image](https://github.com/apache/doris/assets/56187561/34723176-2903-49f7-a596-3de19943b0cf)
   
   
   
   ### What You Expected?
   
   生成一个连续的日期数组
   
   ### 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