You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use "WITH AS" in my query the output from using a terminal command "sqllineage -f file.sql -l column" is different from the output of get_sql_lineage() or print_column_lineage().
Here is the query:
INSERT INTO target_db.target_table (
id
, name
, age
, email
)
WITH info AS {
SELECT id
, name
, age
, email
FROM source_db.source_table
WHERE age >= 25
)
SELECT id
, name
, age
, email
FROM info
GROUP BY 1, 2, 3, 4;
Hello reata!
When I use "WITH AS" in my query the output from using a terminal command "sqllineage -f file.sql -l column" is different from the output of get_sql_lineage() or print_column_lineage().
Here is the query:
INSERT INTO target_db.target_table (
id
, name
, age
, email
)
WITH info AS {
SELECT id
, name
, age
, email
FROM source_db.source_table
WHERE age >= 25
)
SELECT id
, name
, age
, email
FROM info
GROUP BY 1, 2, 3, 4;
Terminal output (correct):
target_db.target_table.age <- info.age <- source_db.source_table.age
target_db.target_table.email <- info.email <- source_db.source_table.email
target_db.target_table.id <- info.id <- source_db.source_table.id
target_db.target_table.name <- info.name <- source_db.source_table.name
get_column_lineage() returns empty brackets.
I would appreciate a lot if you look into this issue.
The text was updated successfully, but these errors were encountered: