Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/18931#discussion_r163477806
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala
---
@@ -1313,6 +1331,9 @@ object CodeGenerator extends Logging {
// This is the value of HugeMethodLimit in the OpenJDK JVM settings
val DEFAULT_JVM_HUGE_METHOD_LIMIT = 8000
+ // The max valid length of method parameters in JVM.
+ val MAX_JVM_METHOD_PARAMS_LENGTH = 255
--- End diff --
Added `final` to all constants here.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]