Skip to content

[Bug]: timediff() and subtime() result is not compatible with mysql. #23464

Closed

Description

@Ariznawlll

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

7364a68

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

1.Image

2.Image
还有这个subtime函数,实际mo与mysql行为一样,但是feature里给出的是下面这个,需要确认一下行为.
Image

Expected Behavior

No response

Steps to Reproduce

1. SELECT TIMEDIFF('15:30:45','2000-01-01 15:30:45') AS mixed_format2;


2. SELECT SUBTIME('2007-12-31 23:59:59.999999', '1 1:1:1.000002') AS result1;

Additional information

No response

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s0

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions