Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Error on CASE statements when result is not bool #787

Closed
@ajnavarro

Description

@ajnavarro

This query:

select CASE WHEN NULL THEN "yes" ELSE "no" END AS test

Is throwing the following error:

ERROR 1105 (HY000): unknown error: unable to cast nil to bool

But it should return no

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions