mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-27 07:28:30 +00:00
MINOR: Fix column lineage in export (#16167)
This commit is contained in:
parent
6af8918167
commit
5002527c19
@ -257,6 +257,7 @@ public class LineageRepository {
|
||||
}
|
||||
|
||||
private String processColumnLineage(HashMap lineageMap) {
|
||||
|
||||
if (lineageMap.get("columns") != null) {
|
||||
StringBuilder str = new StringBuilder();
|
||||
Collection collection = (Collection<ColumnLineage>) lineageMap.get("columns");
|
||||
@ -268,9 +269,9 @@ public class LineageRepository {
|
||||
str.append(colLineage.get("toColumn"));
|
||||
str.append(";");
|
||||
}
|
||||
// remove the last ;
|
||||
return str.toString().substring(0, str.toString().length() - 1);
|
||||
}
|
||||
// remove the last ;
|
||||
return str.toString().substring(0, str.toString().length() - 1);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user