We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Alias of a subquery show as a Table node in Visualizes Table/Column Lineage
SQL
CREATE TABLE main.tab1 AS ( SELECT * FROM ( SELECT T0.* FROM (SELECT * FROM main.tab0) T0 WHERE T0.num < 100 ) )
To Reproduce Note here we refer to SQL provided in prior step as stored in a file named test.sql
test.sql
sqllineage -f test.sql --dialect=ansi -g
Web UI (Web User Interface):
Expected behavior
There should be no table node for alias of subquery.
Python version (available via python --version)
python --version
SQLLineage version (available via sqllineage --version):
sqllineage --version
The text was updated successfully, but these errors were encountered:
Bug confirmed. Thanks for reporting.
The column lineage is also incorrect in this case.
Sorry, something went wrong.
This is a regression issue introduced in v1.4.9 via fbad73a, v1.4.8 was OK.
The commit is to make subquery alias case insensitive. So that we can resolve SELECT t0.* FROM (SELECT * FROM main.tab0) T0 correctly.
SELECT t0.* FROM (SELECT * FROM main.tab0) T0
But that was only half done. Qualifier name was not converted to lower case correctly.
Successfully merging a pull request may close this issue.
Describe the bug
Alias of a subquery show as a Table node in Visualizes Table/Column Lineage
SQL
To Reproduce
Note here we refer to SQL provided in prior step as stored in a file named
test.sql
Web UI (Web User Interface):
Expected behavior
There should be no table node for alias of subquery.
Python version (available via
python --version
)SQLLineage version (available via
sqllineage --version
):The text was updated successfully, but these errors were encountered: