i have a problem with apache nifi i want to move data from database to hdfs .i have one table year with one column when i move it i found a lot of files contain the same table year . what i have to do to remove the duplicated files i have used the updateattribute processor but i didnt know how to use it to fix the problem enter image description here
this pic show the duplicated files with the same content in hdfs directory