Skip to content

Improve error message for md5 function when the given value is not string #849

@ronja-ui

Description

@ronja-ui

Description

The current error message is a bit too vague when the given value for md5() is not a string value:

[DATATYPE_MISMATCH.UNEXPECTED_INPUT_TYPE] Cannot resolve "md5(number)" due to data type mismatch: Parameter 1 requires the "BINARY" type, however "number" has the type "INT".;
'Project [_time#69L, number#63, md5(number#63) AS x#72]

The error message could say that md5() accepts only string values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions