Github user viirya commented on the issue:
https://github.com/apache/spark/pull/17486
LGTM
A variable marked with `@transient` will be restored to the default value
of the type, not the default value of the parameter.
Quoted from Chapter 25 of Programming in Scala, First Edition:
http://www.artima.com/pins1ed/annotations.html
> Finally, Scala provides a @transient annotation for fields that should
not be serialized at all. If you mark a field as @transient, then the framework
should not save the field even when the surrounding object is serialized. When
the object is loaded, the field will be restored to the default value for the
type of the field annotated as @transient.
---
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]