diff options
Diffstat (limited to '')
-rw-r--r-- | sqlglot/lineage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlglot/lineage.py b/sqlglot/lineage.py index 908f126..2e563ae 100644 --- a/sqlglot/lineage.py +++ b/sqlglot/lineage.py @@ -113,7 +113,7 @@ def lineage( ) else: if table not in tables: - tables[table] = Node(name=table, source=source, expression=source) + tables[table] = Node(name=c.sql(), source=source, expression=source) node.downstream.append(tables[table]) return node |