You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Flavio Pompermaier <po...@okkam.it> on 2016/10/07 11:48:03 UTC

Tuple vs Row

Hi to all,

is there any performance degradation using Row instead of Tuple objects in
Flink?

Best,
Flavio

Re: Tuple vs Row

Posted by Timo Walther <tw...@apache.org>.
Hi Flavio,

I have never benchmarked Rows but they definitely add some overhead. 
Each new row also creates an array object storing the values, the 
serializer maintains a bitmask for tagging null values and the 
comparator has additional checks for null values.

Would be interesting to measure the performance degradation.

Timo

Am 07/10/16 um 13:48 schrieb Flavio Pompermaier:
> Hi to all,
> is there any performance degradation using Row instead of Tuple 
> objects in Flink?
>
> Best,
> Flavio


-- 
Freundliche Gr��e / Kind Regards

Timo Walther

Follow me: @twalthr
https://www.linkedin.com/in/twalthr