Github user mgaido91 commented on the issue: https://github.com/apache/spark/pull/21736 @MaxGekk the main reason is to avoid it to be serialized to the executors, so we use the `@transient`. The main reason for using lazy is to get the value only if needed. Probably it is not a big deal to get rid of lazy. @cloud-fan thanks, then I'll create a JIRA. Thanks.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org