Skip to content

[vectorized][Feature] support function sleep, version, dsqrt #7617

@BiteTheDDDDt

Description

@BiteTheDDDDt

Search before asking

  • I had searched in the issues and found no similar issues.

Description

function sleep

MySQL [test]> select sleep(1);
+----------+
| sleep(1) |
+----------+
|        1 |
+----------+
1 row in set (1.014 sec)

MySQL [test]> select sleep(0);
+----------+
| sleep(0) |
+----------+
|        1 |
+----------+
1 row in set (0.009 sec)

MySQL [test]> select sleep(3);
+----------+
| sleep(3) |
+----------+
|        1 |
+----------+
1 row in set (3.009 sec)

function version

MySQL [test]> select version();
+-----------+
| version() |
+-----------+
| 5.1.0     |
+-----------+
1 row in set (0.012 sec)

function dsqrt

MySQL [test]> select dsqrt(2);
+--------------------+
| dsqrt(2.0)         |
+--------------------+
| 1.4142135623730951 |
+--------------------+
1 row in set (0.010 sec)

Use case

No response

Related issues

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions