Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a tHDFSExist and if the file already exists there is a tjava which does this code:
Files.move(Paths.get(context.path_file + "/" + ((String)globalMap.get("tWaitForFile_1_FILENAME"))), Paths.get(context.main_path + "/Exists/country/"+((String)globalMap.get("tWaitForFile_1_FILENAME"))));
I want not only to move the file but to replace it if there is the same. I used REPLACED_EXISTING but nothing happens.
I haven't think of that. I prefer to use java code on my pipelines.