Skip to content

[Bug] [LINEAGE] Subquery in the project doesn't drill down to get the column lineage #7180

@yabola

Description

@yabola

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

For example, the following SQL statement will get the wrong column lineage result:
create table table0(a int, b string, c string)
create table table1(a int, b string, c string)
select (select sum(a) from table0 where table1.b = table0.b) as aa, b from table1

aa should come from table0.a , not from table0.b

Affects Version(s)

1.7.0

Kyuubi Server Log Output

Kyuubi Engine Log Output

Kyuubi Server Configurations

Kyuubi Engine Configurations

Additional context

No response

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
  • No. I cannot submit a PR at this time.

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