Skip to content

Some functions are dynamically typed #40

Description

@hadrienk

Some functions are supposed to return different types depending on the types of the parameters.
We deal with this adjusting the expression type in the expression visitor (see + - * / operators) or in the native function visitor (see nvl) but other cases are not yet handled; abs, log, power and trunc.

The fact that we need to make this gymnastic should be enough to refactor the function abstraction as extending the expression interfaces.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions