Skip to content

For some metric expressions, column lineage isn't detected which seems to allow creating invalid metrics #1537

@samredai

Description

@samredai

A metric that looks something like...

AVG(IF(foo IS NOT NULL AND bar IN ('abc', '123') AND baz IN ('y', 'Y'), foo, NULL)) AS value

...will succeed and get created even if column bar does not exist in the upstream node. Also if all of those columns do exist and this is a valid metric, bar doesn't show up in the column level lineage graph, even though foo and baz both do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions