Skip to content

SQL: Wrong column name in case of a function without alias that has computable content #31869

@astefan

Description

@astefan

Best exemplified by an example: SELECT CHAR(emp_no % 10000) FROM "test_emp";
The result will have the column name CHAR(((emp_no{f}#14) % 10000)). It should be CHAR((emp_no % 10000)).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions