You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by "Ulanov, Alexander" <al...@hpe.com> on 2015/09/02 01:08:25 UTC

Use of UnsafeRow

Dear Spark developers,

Could you suggest what is the intended use of UnsafeRow (except for Tungsten groupBy and sort) and give an example how to use it?
1)Is it intended to be instantiated as the copy of the Row in order to perform in-place modifications of it?
2)Can I create a new UnsafeRow given the types of columns I want it to have (so it will allocate a memory and point to it)?

Best regards, Alexander