-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-18016][SQL][CATALYST][BRANCH-2.2] Code Generation: Constant Pool Limit - Class Splitting #18377
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
ok to test |
Test build #78393 has finished for PR 18377 at commit
|
thanks, merging to 2.2! |
…ol Limit - Class Splitting ## What changes were proposed in this pull request? This is a backport patch for Spark 2.2.x of the class splitting feature over excess generated code as was merged in #18075. ## How was this patch tested? The same test provided in #18075 is included in this patch. Author: ALeksander Eskilson <[email protected]> Closes #18377 from bdrillard/class_splitting_2.2.
@bdrillard @cloud-fan given that this is not a regression and 2.2 is in code-freeze, do you think this is safe to merge it in the 2.2 branch? More specifically, could the new code path affect (or regress) classes that would otherwise not grow beyond 1600k limit? Thanks! |
@sameeragarwal @cloud-fan If I understand well what you mean by affect/regress, this patch would induce no change at all on the code generated for any class below the 1600k limit. For such classes smaller than the limit, all functions are inlined to the |
Why did we backport this? This seems too risky. |
as we are very close to 2.2, and this patch is not trivial(200+ lines), I'm going to revert it and merge it back after 2.2 release, so this patch can be in 2.2.1 and we can have plenty of time to test it. cc @bdrillard what do you think? |
reverted, @bdrillard ping me if you have any other concerns, thanks! |
@cloud-fan Sure! That makes perfect sense to me. |
Thanks guys! |
Hm I'm not even sure if we should backport this in branch-2.2. Let's wait and see ... |
@cloud-fan @rxin @sameeragarwal What can we say is the status of these backports? Including this PR, #18354, and #18579, it was decided to revert the changes until the 2.2.0 release was finished. Will all the backports remain reverted? Or can we find a way to get these merged? It seems some people would find backports useful (see SPARK-18016 jira discussion), but naturally I'd want to make sure the patches fit your testing requirements/release schedule. |
@bdrillard Sorry, we do not plan to backport this PR to the maintenance branch 2.2. Could you please close this PR? Thanks! |
What changes were proposed in this pull request?
This is a backport patch for Spark 2.2.x of the class splitting feature over excess generated code as was merged in #18075.
How was this patch tested?
The same test provided in #18075 is included in this patch.