Question

I would like to know where Talend Open Studio stores temporal data for tMap component if you set Store temp data variable to true in a lookup flow, but you dont set the Temp data directory path variable explicitly:

enter image description here

enter image description here

Also, I would like to know if this temporal data is deleted automatically.

Any idea?

Was it helpful?

Solution

The answer is in these lines of code from tMap:

String tempFolder = ElementParameterParser.getValue(node,"__TEMPORARY_DATA_DIRECTORY__");
if (tempFolder.equals("")) {
tempFolder=ElementParameterParser.getValue(node.getProcess(), "__COMP_DEFAULT_FILE_DIR__") + "/temp";                
}

so, the default temp dir is inside the workspace. The dir won't be deleted by default, but files inside will (as usual)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top