Skip to content

Commit a4917bc

Browse files
committed
fix(powerbi): conditionally convert column names to lowercase in lineage mapping
1 parent 5690d95 commit a4917bc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • metadata-ingestion/src/datahub/ingestion/source/powerbi

metadata-ingestion/src/datahub/ingestion/source/powerbi/powerbi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,12 @@ def make_fine_grained_lineage_class(
197197
upstreams = [
198198
builder.make_schema_field_urn(
199199
self.lineage_urn_to_lowercase(column_ref.table),
200-
column_ref.column,
200+
column_ref.column.lower()
201+
if self.__config.convert_lineage_urns_to_lowercase
202+
else column_ref.column,
201203
)
202204
for column_ref in cll_info.upstreams
205+
if column_ref.column
203206
]
204207

205208
fine_grained_lineages.append(

0 commit comments

Comments
 (0)