Github user mgaido91 commented on the issue:
https://github.com/apache/spark/pull/19518
@viirya in general there is no benefit. There will be a benefit if we
manage to declare them where they are used, but I am not sure this is feasible.
In this way, they do not add any entry to the constant pool.
For instance, if we have a inner class `InnerClass1` and we use
`isNull_11111` only there, if we define `isNull_11111` as a variable of
`InnerClass1` instead of a variable of the outer class we have no entry about
it in the outer class.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]