-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-22688][SQL] Upgrade Janino version to 3.0.8 #19890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. This should also go back to branch-2.1 like the previous update to 3.0.7, but note that there are more deps files to update in that branch.
Test build #84465 has finished for PR 19890 at commit
|
Wait...
We captured @kiszk Could you double check it? |
@gatorsmile great catch, I will double check it. |
@gatorsmile The current code works functionally correct since InternalCompilerException is defined as a subclass of Do we replace |
Yea, let's avoid using deprecated ones, of course if it does not break anything. |
Sure |
Test build #84545 has finished for PR 19890 at commit
|
It would only cause a problem if somehow and older Janino was on the classpath, which does not have the new exception type. I don't think there's a reason to believe that happens in practice (i.e. not brought in by Hadoop). |
I'd LGTM on both upgrading to Janino 3.0.8 and also changing the exception type captured from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks! Merged to master. |
We'll need to back port to 2.2/2.1 to match the previous janino update. I'll do that. A different PR will be required for 2.1 |
This PR upgrade Janino version to 3.0.8. [Janino 3.0.8](https://janino-compiler.github.io/janino/changelog.html) includes an important fix to reduce the number of constant pool entries by using 'sipush' java bytecode. * SIPUSH bytecode is not used for short integer constant [#33](janino-compiler/janino#33). Please see detail in [this discussion thread](#19518 (comment)). Existing tests Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com> Closes #19890 from kiszk/SPARK-22688. (cherry picked from commit 8ae004b) Signed-off-by: Sean Owen <sowen@cloudera.com>
## What changes were proposed in this pull request? Hotfix inadvertent change to xmlbuilder dep when updating Janino. See backport of #19890 ## How was this patch tested? N/A Author: Sean Owen <sowen@cloudera.com> Closes #19922 from srowen/SPARK-22688.2.
This PR upgrade Janino version to 3.0.8. [Janino 3.0.8](https://janino-compiler.github.io/janino/changelog.html) includes an important fix to reduce the number of constant pool entries by using 'sipush' java bytecode. * SIPUSH bytecode is not used for short integer constant [#33](janino-compiler/janino#33). Please see detail in [this discussion thread](#19518 (comment)). Existing tests Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com> Closes #19890 from kiszk/SPARK-22688. (cherry picked from commit 8ae004b) Signed-off-by: Sean Owen <sowen@cloudera.com>
This PR upgrade Janino version to 3.0.8. [Janino 3.0.8](https://janino-compiler.github.io/janino/changelog.html) includes an important fix to reduce the number of constant pool entries by using 'sipush' java bytecode. * SIPUSH bytecode is not used for short integer constant [apache#33](janino-compiler/janino#33). Please see detail in [this discussion thread](apache#19518 (comment)). Existing tests Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com> Closes apache#19890 from kiszk/SPARK-22688. (cherry picked from commit 8ae004b) Signed-off-by: Sean Owen <sowen@cloudera.com>
## What changes were proposed in this pull request? Hotfix inadvertent change to xmlbuilder dep when updating Janino. See backport of apache#19890 ## How was this patch tested? N/A Author: Sean Owen <sowen@cloudera.com> Closes apache#19922 from srowen/SPARK-22688.2.
What changes were proposed in this pull request?
This PR upgrade Janino version to 3.0.8. Janino 3.0.8 includes an important fix to reduce the number of constant pool entries by using 'sipush' java bytecode.
Please see detail in this discussion thread.
How was this patch tested?
Existing tests