You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "hurricane1998 (via GitHub)" <gi...@apache.org> on 2024/07/05 03:36:53 UTC

[I] [Bug] array_range函数官方文档生成日期数组报错 [doris]

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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] array_range函数官方文档生成日期数组报错 [doris]

Posted by "superdiaodiao (via GitHub)" <gi...@apache.org>.
superdiaodiao commented on issue #37329:
URL: https://github.com/apache/doris/issues/37329#issuecomment-2212470332

   Which branch?


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] array_range函数官方文档生成日期数组报错 [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #37329:
URL: https://github.com/apache/doris/issues/37329#issuecomment-3283052157

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] array_range函数官方文档生成日期数组报错 [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #37329: [Bug] array_range函数官方文档生成日期数组报错
URL: https://github.com/apache/doris/issues/37329


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org