Skip to content

SQL: column references cannot be replaced by constants #9418

@sascha-coenen

Description

@sascha-coenen

Affected Version

0.16.0 and 0.17.0

Description

The following query throws an exception. However if the LOOKUP is performed on a column reference, then it works even though the column would also just evaluate to a string value for each row.

SELECT
   LOOKUP('some', 'adtype_by_adtypeid') AS tst

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions