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
SQL
select 1, case when 1 = ( select count(*) from tab1 where col1 = 'tab2' ) then ( select count(*) from tab2 ) else 0 end as cnt
To Reproduce
Note here we refer to SQL provided in prior step as stored in a file named test.sql
test.sql
from sqllineage.runner import LineageRunner with open("test.sql") as f: sql = f.read() lr = LineageRunner(sql, dialect="redshift") print(lr.source_tables)
Actual behavior
[]
Expected behavior
[Table: <default>.tab1, Table: <default>.tab2]
Python version (available via python --version)
python --version
SQLLineage version (available via sqllineage --version):
sqllineage --version
Additional context
The text was updated successfully, but these errors were encountered:
fix: issue (reata#559)
158c10a
No branches or pull requests
SQL
To Reproduce
Note here we refer to SQL provided in prior step as stored in a file named
test.sql
Actual behavior
Expected behavior
Python version (available via
python --version
)SQLLineage version (available via
sqllineage --version
):Additional context
The text was updated successfully, but these errors were encountered: