Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/19518
can we use `32767` as array size upper bound? e.g.
```
class Foo {
int[] globalVars1 = new int[32767];
int[] globalVars2 = new int[32767];
int[] globalVars3 = new int[32767];
...
void apply0(InternalRow i) {
globalVars1[0] = 1;
globalVars1[1] = 1;
...
}
void apply1(InternalRow i) {
globalVars2[0] = 1;
globalVars2[1] = 1;
...
}
void apply(InternalRow i) {
apply0(i);
apply1(i);
...
}
}
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]