Mryange
cbdaaa62b2
[feature](function) hour/minute/second functions support time as an a… 41008 (#42232)
…rgument. (#41008)
## Proposed changes
```
mysql> select cast(4562632 as time),hour(cast(4562632 as time)), minute(cast(4562632 as time)),second(cast(4562632 as time));
+-----------------------+-----------------------------+-------------------------------+-------------------------------+
| cast(4562632 as TIME) | hour(cast(4562632 as TIME)) | minute(cast(4562632 as TIME)) | second(cast(4562632 as TIME)) |
+-----------------------+-----------------------------+-------------------------------+-------------------------------+
| 456:26:32 | 456 | 26 | 32 |
+-----------------------+-----------------------------+-------------------------------+-------------------------------+
```
<!--Describe your changes.-->
---------
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
Co-authored-by: Dongyang Li <hello_stephen@qq.com>
2024-10-24 11:09:36 +08:00
..
2024-09-26 22:50:34 +08:00
2024-02-29 12:38:03 +08:00
2024-10-11 09:32:00 +08:00
2024-04-17 23:41:59 +08:00
2024-10-24 11:09:36 +08:00
2024-09-11 23:28:28 +08:00
2024-02-23 19:03:28 +08:00
2023-05-24 20:34:01 +08:00
2023-09-25 12:52:29 +08:00
2024-10-17 14:45:46 +08:00
2024-07-25 11:34:22 +08:00
2023-04-21 15:11:18 +08:00
2024-09-23 10:44:03 +08:00
2024-08-27 18:32:10 +08:00
2024-08-31 20:58:20 +08:00
2024-08-27 18:32:52 +08:00
2024-07-16 14:04:35 +08:00