Skip to content

[Bug]: OCT(NULL) IS UNKNOWN,return error #5829

Closed

Description

@goodMan-code

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

The problematic SQL stmt is :
SELECT OCT(NULL) IS UNKNOWN;

SELECT OCT(NULL) return value on MO is :
+-----------+
| oct(null) |
+-----------+
| NULL |
+-----------+

SELECT OCT(NULL) IS UNKNOWN; return value on MO is :
ERROR 20203 (HY000): invalid argument operator cast, bad value [DECIMAL128 BOOL]

Expected Behavior

No response

Steps to Reproduce

No response

Additional information

No response

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

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions