-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement](good-first-issue) Support some date functions #44932
Comments
I want to try it, please assign it to me. |
May I help in this issue @cat-with-cat ? |
Hey @cat-with-cat @zclllyybb @zhangstar333, I am interested to contribute to doris. I will start by learning more about the project and the code base. Meanwhile, @cat-with-cat if you can update on whether you have started working on the issue here. I could get started working on the issue. |
hi @cutiepie-10 and @HashHaran . As I know @cat-with-cat is working on this issue. I released a new one here. If you interested in it, feel free to pick it. |
hey @cat-with-cat and @zclllyybb , in case you need any help please let me know . I am eager to contribute to this issue. |
hey @cat-with-cat could you share your advance and planning here? |
hey @riya9142 and @zclllyybb , I have completed the coding of the logic and am now conducting tests. Thanks |
great. so @riya9142 if you are interested in contributing in Doris, maybe you can look https://github.com/orgs/apache/projects/424? It's a great project which has many subtasks. |
Search before asking
Description
We need to implement function
NEXT_DAY
andPREVIOUS_DAY
, for the next day/previous day of input argument(which acceptdatev2
ordatetimev2
type)and for
LAST_DAY
we support the second argument(optinal, if not provided, act like gotmonth
so that the old behaviours won't be change) to get the last day of current week/month/day/quarter... and so onSolution
To support a function, we need:
function implementation and registration in BE
function signature and visitor for nereids planner in FE
the constant fold implementation in FE, behave just same with it in BE, like
functions/executable/NumericArithmetic.java
in https://github.com/apache/doris/pull/40744/filesanother function docs pr in https://github.com/apache/doris-website
you can reference pr like https://github.com/apache/doris/pull/33005/files
and ATTN! we must have enough testcases, like what https://github.com/apache/doris/pull/40462/files did.
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: