Skip to content

[Refactoring]: Single parameter builtin functions refactoring #2329

Closed

Description

@dengn

Is there an existing issue for the refactoring request?

  • I have checked the existing issues.

Is your refactoring request related to a problem?

As MatrixOne is refactoring its execution plan, the builtin function needs to adapt to this refactoring.

Describe the solution you'd like

A new function registration process will be applied.
The unary function list:
abs, acos, atan,cos, cot, date, dayofyear, exp, length, ln, log, ltrim, month, reverse, rtrim, sin, sinh, space, tan, weekday, year

Describe alternatives you've considered

No response

Additional information

No response

Activity

  1. added this to the v0.5.0 milestone on Apr 29, 2022
  2. changed the title [-][Refactoring]: Builtin function Year()[/-] [+][Refactoring]: Unary builtin functions refactoring[/+] on May 3, 2022
  3. changed the title [-][Refactoring]: Unary builtin functions refactoring[/-] [+][Refactoring]: Unary-parameter builtin functions refactoring[/+] on May 3, 2022
  4. added
    priority/p0
    source/on-demand
    and removed on May 3, 2022
  5. m-schen commented on May 7, 2022

    @m-schen
    Contributor

    #2349 #2350 work is similar to this issue. I will do all the work at the same time.

  6. m-schen commented on May 7, 2022

    @m-schen
    Contributor

    I plan to do this work on 2 steps.

    1. refactoring the register logic of all the built-in functions (and operators)
    2. fix the code of functions and operators.
  7. changed the title [-][Refactoring]: Unary-parameter builtin functions refactoring[/-] [+][Refactoring]: Single parameter builtin functions refactoring[/+] on May 10, 2022
  8. m-schen commented on May 18, 2022

    @m-schen
    Contributor

    adding implicit cast rule for function's argument now.

  9. dengn commented on May 31, 2022

    @dengn
    ContributorAuthor
  10. assigned and unassigned on Jun 9, 2022
  11. fengttt commented on Jul 1, 2022

    @fengttt
    Contributor

    Covered by bvt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority/p0source/on-demand

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions