Skip to content

Commit e6d3094

Browse files
committed
Fix SDMX dataflows function
1 parent c7c161e commit e6d3094

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vtl-sdmx/src/main/java/fr/insee/vtl/sdmx/TrevasSDMXUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public static Structured.DataStructure buildStructureFromSDMX3(SdmxBeans beans,
120120
public static Map<String, DataStructureBean> dataflows(SdmxBeans sdmxBeans) {
121121
return sdmxBeans.getDataflows().stream()
122122
.map(df -> sdmxBeans.getDataStructures(df.getDataStructureRef()))
123+
.distinct()
123124
.flatMap(Collection::stream)
124125
.collect(Collectors.toMap(
125126
dataStructureBean -> dataStructureBean.getId(),

0 commit comments

Comments
 (0)