-
Notifications
You must be signed in to change notification settings - Fork 871
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
add toCalendar method #7081 , and fix astar graph function #7103 some bugs #7131
add toCalendar method #7081 , and fix astar graph function #7103 some bugs #7131
Conversation
-fix null checking in astar function . - add toCalendar method as we discussed on Better support for time expression orientechnologies#7081. - add some test cases for toCalendar Method . (need to be documented) .
-fix null checking in astar function . - add toCalendar method as we discussed on Better support for time expression orientechnologies#7081. - add some test cases for toCalendar Method . (need to be documented) .
Thank you very much, I'm checking the PR about the calendar.
This way the server has a single instance of the function. I changed it with
so now the server returns a new instance at every invocation. Could you please re-submit the PR removing the changes to A* Thanks Luigi |
Hi @luigidellaquila . |
Got it, thank you @saeedtabrizi Thanks! Luigi |
@luigidellaquila , @lvca , Is there any chance to have this merge in 2.2.17 release and change the milestone from 3 to 2.2.17 ? |
Hi @luigidellaquila what's the status of this? |
Hi @lvca , @luigidellaquila |
@lvca , @luigidellaquila I guess we have not any chance to have this pull request in ODB v3.0 . |
checking it now. Just a couple of doubts:
Thanks Luigi |
Hi @luigidellaquila ,
As a summary , this PR goal is adding the calendar calculation and time methods to ODB 3.0 via ICU4J . i write a wrapper class and methods too . Thanks |
Hi @luigidellaquila Thanks |
Sure, my intention is to merge it, but to do it you should remove the changes to AStar, as it's already fixed in the main branch. Thanks Luigi |
Hi @luigidellaquila |
Hi @luigidellaquila ,
As i see the history of So please merge this PR and put it to 3.0 milestone . Thanks . |
I did a deep review of this PR and I still have a couple of doubts. I guess the main purpose of this PR is to have a way to manipulate dates in SQL, if I'm wrong please correct me, but I cannot find any other rationale
To make it clear, the following query will fail in remote
because the protocol doesn't know how to serialize
will fail because Please help me to understand if I'm missing something, my feeling is that we still have a lot of things to do to merge this PR... Thanks Luigi |
Hi @luigidellaquila Result :
That Birthday is a I hope to transfer my idea for calendar implementation clearly . Thanks |
Very cool and useful contribution, +1. @saeedtabrizi please look at the output from Codacy for static warnings and errors: https://www.codacy.com/app/OrientDB/orientdb/pullRequest?prid=495581. |
Many Thanks @lvca . I just lint the code and try to cleanup errors and warning :) |
I was reading Luigi's comments and he's right. You should register a lot of new methods in order to be used in SQL. At that point, the question is: why using |
…xpression orientechnologies#7081. - Add some test cases for toCalendar Method . (need to be documented) . - Update icu4j dependency from 58.2 to 59.1 (latest release). - Some code clean up to resolve codacy code errors and wanings.
b4d95dd
to
78f6f7a
Compare
@lvca the short answer is yes . i use It is so clear and simple . but as i understand from you and dear @luigidellaquila comments, i should implement all methods of Which For the your question about using the Thanks Saeed . |
Hi @lvca , @luigidellaquila |
I'm afraid for now there are no further alternatives, we are more or less at the same point of when this issue was reported Thanks Luigi |
-fix null checking in astar function .