Github user cloud-fan commented on the pull request:
https://github.com/apache/spark/pull/10374#issuecomment-166819637
agree with @hvanhovell about the meaning of that comment. However, I don't
think we need to change the `copy` method as `Row` is meant to be immutable.
`row.toSeq.toArray` seems a hack to get the underlying array and change value
of the `row`. We should either add doc to say not do this, or fix the `toSeq`
to not leak the backing array.
---
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]