From 0c304b9ad152ca1ecdd0118b93c40d8d21755bbf Mon Sep 17 00:00:00 2001 From: Joy A Date: Tue, 14 Nov 2023 16:54:45 +0530 Subject: [PATCH] #79 | Support audio and file concept data types in media etl --- .../avniproject/etl/repository/sync/MediaTableSyncAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/avniproject/etl/repository/sync/MediaTableSyncAction.java b/src/main/java/org/avniproject/etl/repository/sync/MediaTableSyncAction.java index a7ba787..53b2e8a 100644 --- a/src/main/java/org/avniproject/etl/repository/sync/MediaTableSyncAction.java +++ b/src/main/java/org/avniproject/etl/repository/sync/MediaTableSyncAction.java @@ -47,7 +47,7 @@ public void perform(TableMetadata tableMetadata, Date lastSyncTime, Date dataSyn } currentSchemaMetadata.getTableMetadata().forEach(thisTableMetadata -> { - List mediaColumns = thisTableMetadata.findColumnsMatchingConceptType(ColumnMetadata.ConceptType.Image, ColumnMetadata.ConceptType.Video); + List mediaColumns = thisTableMetadata.findColumnsMatchingConceptType(ColumnMetadata.ConceptType.Image, ColumnMetadata.ConceptType.Video, ColumnMetadata.ConceptType.Audio, ColumnMetadata.ConceptType.File); mediaColumns.forEach(mediaColumn -> { insertData(tableMetadata, thisTableMetadata, mediaColumn, lastSyncTime, dataSyncBoundaryTime); });