Tuple vs Row

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Tuple vs Row

Flavio Pompermaier
Hi to all,

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

Best,
Flavio
Reply | Threaded
Open this post in threaded view
|

Re: Tuple vs Row

Timo Walther
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