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
Describe the bug
Column-level lineage does not identify tables within sub-queries used in the USING part of a MERGE statement (T-SQL)
SQL
MERGE INTO s1.table_targetAS T
USING (
SELECTsrc.key_colAS key_col
,src.col1AS col1
FROMs1.table_sourceAS src
) AS S
ONT.key_col=S.key_col
WHEN NOT MATCHED
THEN INSERT (
col1
)
VALUES (
S.col1
)
To Reproduce
Web UI (Web User Interface):
Expected behavior
The graph should also show lineage from S (alias) to s1.table_target
The text was updated successfully, but these errors were encountered:
Describe the bug
Column-level lineage does not identify tables within sub-queries used in the USING part of a MERGE statement (T-SQL)
SQL
To Reproduce
![image](https://private-user-images.githubusercontent.com/6275663/305512302-aff31162-25e1-403e-b145-4b1694e6a729.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMzE2MzUsIm5iZiI6MTcyMTEzMTMzNSwicGF0aCI6Ii82Mjc1NjYzLzMwNTUxMjMwMi1hZmYzMTE2Mi0yNWUxLTQwM2UtYjE0NS00YjE2OTRlNmE3MjkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTZUMTIwMjE1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTY1MmIwNDg0ZGJiZmVkODU1MGQwYjEyYTg4Yjk5NDkwZWFlNjMzNDFkYzZkMTJhZTY1MWNiMWYxMWZiZTNjNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.qnctQq4tjKy5XfKiXECF2JGIpEQes0Ne3nNzV2dw3IU)
Web UI (Web User Interface):
Expected behavior
The graph should also show lineage from
S
(alias) tos1.table_target
The text was updated successfully, but these errors were encountered: