Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Column Lineage With Nested Cast #240

Closed
reata opened this issue Mar 27, 2022 · 0 comments · Fixed by #241
Closed

Incorrect Column Lineage With Nested Cast #240

reata opened this issue Mar 27, 2022 · 0 comments · Fixed by #241
Assignees
Labels
bug Something isn't working

Comments

@reata
Copy link
Owner

reata commented Mar 27, 2022

SQL:

INSERT OVERWRITE TABLE tab1
SELECT cast(cast(col1 AS int) AS int) AS col1
FROM tab2;

Result:

$ sqllineage -f foo.sql -l column
<default>.tab1.col1 <- <default>.tab2.cast

Expected:

<default>.tab1.col1 <- <default>.tab2.col1

Tested against v1.3.4, casting without nested structure works fine.

@reata reata added the bug Something isn't working label Mar 27, 2022
@reata reata self-assigned this Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant