Github user davies commented on the pull request:
https://github.com/apache/spark/pull/7402#issuecomment-121503289
@rxin The other two generated projections that return GenericMutableRow or
generated SpecificRow, they both can take UnsafeRow as input,
GenerateMutableProjection already can work with UnsafeRow (updating a
UnsafeRow, but need ObjectPool to support update StringType and BinaryType).
Right now, in order to support var-length objects (String and Binary), we
need to know all of the columns in a row, so it's no trivial to make
GenerateMutableProjection and GenerateProjection to work with UnsafeRow
directly (we can update GenerateProjection to re-use the SpecificRow to reduce
short-term garbage).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]