Transpose row to column and column to row

Hello @fredrikt,

you can use join() and substr() functions from String Manipulation node to transform 2021 Jan to Jan-21.

Br,
Ivan

4 Likes

Hi @ipazin , this is really helpful.
But I met some problem during the final execution, execution failed and inform

Execute failed: Java heap space: failed reallocation of scalar replaced objects

Is there any method to fix this?

@Kenyx maybe you could explain further what kind of operation you wer doing and what your system is like. If you have costly operations you might want to take a look at these discussions:

3 Likes

Hi @mlauber71
I am pivoting a large mount of unpivoted datasets, my config of memory is set up to 8G, when I executing the whole program is flashing and the Windows taskbar can see multiple knime program open and close.

@Kenyx maybe you open a new thread with some more details about your system and your data. Transpose can be a costly operation. 8 GB might not be that much.

Hi @Kenyx

Did you solve this problem ? If not, I would be happy to help with it if you open it in a new thread as suggested by @mlauber71 :slightly_smiling_face:

Best wishes,

Ael

2 Likes

Hi @aworker ,

Thank you.
I already solved this problem, I made mistake on pivots and aggregation method.

BR
Ken

2 Likes