Uh oh!
There was an error while loading. Please reload this page.
[feature](function) support time_to_sec - #21722
Conversation
zclllyybb
commented
Jul 11, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
hello-stephen
commented
Jul 11, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
hello-stephen
commented
Jul 11, 2023
TeamCity pipeline, clickbench performance test result: |
zclllyybb
commented
Jul 11, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
hello-stephen
commented
Jul 11, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
hello-stephen
commented
Jul 11, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
hello-stephen
commented
Jul 11, 2023
TeamCity pipeline, clickbench performance test result: |
Uh oh!
There was an error while loading. Please reload this page.
zclllyybb
commented
Jul 12, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
hello-stephen
commented
Jul 12, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
| [['to_days'], 'INT', ['DATEV2'], ''], | ||
| [['time_to_sec'], 'INT', ['TIME'], ''], | ||
| [['sec_to_time'], 'TIME', ['INT'], ''], |
There was a problem hiding this comment.
Also need to implement for timev2
There was a problem hiding this comment.
not support now. it will be added in another pr.
mysql >select sec_to_time(time_to_sec(cast('16:32:18' as time)));
+----------------------------------------------------+
| sec_to_time(time_to_sec(CAST('16:32:18' AS TIME))) |
+----------------------------------------------------+
| 16:32:18 |
+----------------------------------------------------+
1 row in set (0.53 sec)
mysql [test]>select sec_to_time(59538);
+--------------------+
| sec_to_time(59538) |
+--------------------+
| 16:32:18 |
+--------------------+
1 row in set (0.03 sec)mysql >select sec_to_time(time_to_sec(cast('16:32:18' as time)));
+----------------------------------------------------+
| sec_to_time(time_to_sec(CAST('16:32:18' AS TIME))) |
+----------------------------------------------------+
| 16:32:18 |
+----------------------------------------------------+
1 row in set (0.53 sec)
mysql [test]>select sec_to_time(59538);
+--------------------+
| sec_to_time(59538) |
+--------------------+
| 16:32:18 |
+--------------------+
1 row in set (0.03 sec)mysql >select sec_to_time(time_to_sec(cast('16:32:18' as time)));
+----------------------------------------------------+
| sec_to_time(time_to_sec(CAST('16:32:18' AS TIME))) |
+----------------------------------------------------+
| 16:32:18 |
+----------------------------------------------------+
1 row in set (0.53 sec)
mysql [test]>select sec_to_time(59538);
+--------------------+
| sec_to_time(59538) |
+--------------------+
| 16:32:18 |
+--------------------+
1 row in set (0.03 sec)
Proposed changes
Issue Number: close #xxx
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...