tMap "Store temp datas on disk" option

One Star

tMap "Store temp datas on disk" option

It doesn't seem to work by me, always generates code error. Is there a fix to this yet?
Employee

Re: tMap "Store temp datas on disk" option

Which is your TOS version ?
Have you set the temp directory in the properties of the tMap component ?
One Star

Re: tMap "Store temp datas on disk" option

Hi there,
if you are using TOS 3.0.3 or later this may be related to the changesets r21209/r21210. I described the problem in forum topic 5010 http://www.talendforge.org/forum/viewtopic.php?id=5010
In the affected versions you have to manually set the basic setting "Temp data directory path" of the tMap component to a valid temp directory. The path has to be enclosed by quotes.
Best regards,
Michael
Employee

Re: tMap "Store temp datas on disk" option

Thank you akatose :-)
One Star

Re: tMap "Store temp datas on disk" option

Hi,
I changed the settings of the temp directory and code generation errors ceased. But know I get:
Exception in component tMap_2_TMAP_IN
java.lang.RuntimeException: java.io.StreamCorruptedException: invalid handle value: 007E0000
Employee

Re: tMap "Store temp datas on disk" option

Do you use a geometry column from postgis or an other particular type of columns ?
This error seems to be related to the issue http://www.talendforge.org/bugs/view.php?id=6780.
One Star

Re: tMap "Store temp datas on disk" option

If you mean by 'particular' an 'object' type column, no, I'm not... I'll check more precisely which of my input tables causes the problem...
One Star

Re: tMap "Store temp datas on disk" option

Hi,
I had the same problem and turned out that the input type BigDecimal was causing this problem. I changed it to Double and it's working fine.
Regards,
Rabih Dagher