Skip to content

SQL: null literals not handled correctly in query translation #35088

@matriv

Description

@matriv

When null literals are used in HAVING or WHERE clause an exception is thrown, e.g.:

SELECT gender, max(emp_no) FROM test_emp WHERE salary > 10 or null GROUP BY gender; 

throws:

SqlIllegalArgumentException[Don't know how to translate Literal null 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions