tDenormalizeSortedRow

One Star seb
One Star

tDenormalizeSortedRow

Hi,
I try to use tDenormalizeSortedRow bu the generated code is not valid ("cannot cast int to Long").
In fact there is a Long in the flow, so the generated code is :
Long group_size_tDenormalizeSortedRow_1 = (Long) 0;
To be ok, we may have :
Long group_size_tDenormalizeSortedRow_1 = (Long) 0L;
I think there is a problem in tDenormalizeSortedRow_begin.javajet with line :
if(("String").equals(type) || ("Object").equals(type) || ("java.util.Date").equals(type) || ("byte[]").equals(type)){%>=null<%}else if(("boolean").equals(type) || ("Boolean").equals(type)){%>=false<%}else{%>=(<%=type %>)0<%}%>;
there is no "if" for Long type
Is it a bug or there is something wrong in my job ?
I use Talend 3.2.2r33000.
Community Manager

Re: tDenormalizeSortedRow

Hello
You can report a bug on our bugtracker.
Thanks for your support!!
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star seb
One Star

Re: tDenormalizeSortedRow