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
insert into public.tgt_tbl1 ( id ) select nvl(src_tbl1.id, 0) * 1 as id from public.src_tbl1 as src_tbl1 ;
To Reproduce Note here we refer to SQL provided in prior step as stored in a file named test.sql
test.sql
with open(sql_file, 'r') as f: sql = f.read() lr = LineageRunner(sql, dialect='redshift') lr.print_column_lineage()
public.tgt_tbl1.id <- public.src_tbl1.* public.tgt_tbl1.id <- public.src_tbl1.id
Expected behavior
public.tgt_tbl1.id <- public.src_tbl1.id
Python version (available via python --version)
python --version
SQLLineage version (available via sqllineage --version):
sqllineage --version
The lineage of the two variants of SQL is also incorrect.
insert into public.tgt_tbl1 ( id ) select coalesce(src_tbl1.id, 0) * 1 as id from public.src_tbl1 as src_tbl1 ;
insert into public.tgt_tbl1 ( id ) select case when src_tbl1.id is not null then src_tbl1.id else 0 end * 1 as id from public.src_tbl1 as src_tbl1 ;
The text was updated successfully, but these errors were encountered:
Yes this is a bug when binary operator * is misidentified as wildcard. We should get it fixed.
*
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
To Reproduce
Note here we refer to SQL provided in prior step as stored in a file named
test.sql
Expected behavior
Python version (available via
python --version
)SQLLineage version (available via
sqllineage --version
):The lineage of the two variants of SQL is also incorrect.
The text was updated successfully, but these errors were encountered: