Skip to content

[Feature] [Vectorized] support pmod function #7976

@BiteTheDDDDt

Description

@BiteTheDDDDt

Search before asking

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

Description

I support pmod function in vectorized engine and add document.

Use case

MySQL [(none)]> SELECT PMOD(13,5);
+-------------+
| pmod(13, 5) |
+-------------+
| 3 |
+-------------+
1 row in set (0.012 sec)
MySQL [(none)]> SELECT PMOD(-13,5);
+--------------+
| pmod(-13, 5) |
+--------------+
| 2 |
+--------------+
1 row in set (0.012 sec)

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