Skip to content
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

[SPARK-18016][SQL][CATALYST][BRANCH-2.1] Code Generation: Constant Pool Limit - Class Splitting #18354

Closed
wants to merge 4 commits into from

Conversation

bdrillard
Copy link

What changes were proposed in this pull request?

This is a backport patch for Spark 2.1.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.

@bdrillard bdrillard changed the title Class splitting 2.1 [SPARK-18016][SQL][Catalyst] Backport of Class Splitting, #18075 Jun 19, 2017
@bdrillard bdrillard changed the title [SPARK-18016][SQL][Catalyst] Backport of Class Splitting, #18075 [SPARK-18016][SQL][Catalyst] Backport of Class Splitting Jun 19, 2017
@maor121
Copy link

maor121 commented Jun 20, 2017

This is a very important fix for a very common use case. In our company we had to create a workaround in many different cases. Are there any plans to merge this into 2.0.x as well?
We cannot upgrade to 2.1, and we really need this fix on 2.0.x as well :)

@bdrillard
Copy link
Author

@maor121 Yeah, I should be able to backpatch to 2.0.x as well in a separate PR.

@dongjoon-hyun
Copy link
Member

Hi, @bdrillard .
Did you make a backport for branch-2.2?

@bdrillard
Copy link
Author

@dongjoon-hyun I had not yet. I hadn't realized master was already on a 2.3.0-SNAPSHOT. I can also write a backport for branch-2.2.

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Jun 20, 2017

Yep. To backport, we must land this on branch-2.2 first.
In addition, you can use the same title except branch name like the following.

  • [SPARK-18016][SQL][CATALYST][BRANCH-2.2] Code Generation: Constant Pool Limit - Class Splitting
  • [SPARK-18016][SQL][CATALYST][BRANCH-2.1] Code Generation: Constant Pool Limit - Class Splitting

@bdrillard
Copy link
Author

@dongjoon-hyun Great, thanks for the heads up. I'll prepare a branch-2.2 backport PR and circle back to this PR with the link as confirmation.

@bdrillard bdrillard changed the title [SPARK-18016][SQL][Catalyst] Backport of Class Splitting [SPARK-18016][SQL][CATALYST][BRANCH-2.1] Code Generation: Constant Pool Limit - Class Splitting Jun 20, 2017
@bdrillard
Copy link
Author

@dongjoon-hyun I've prepared the PR for the branch-2.2 backport, #18377.

@cloud-fan
Copy link
Contributor

ok to test

@SparkQA
Copy link

SparkQA commented Jun 21, 2017

Test build #78394 has finished for PR 18354 at commit 5685072.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jun 21, 2017

Test build #78401 has finished for PR 18354 at commit 51a59cb.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Jun 22, 2017
…ol Limit - Class Splitting

## What changes were proposed in this pull request?

This is a backport patch for Spark 2.1.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 #18354 from bdrillard/class_splitting_2.1.
@cloud-fan
Copy link
Contributor

thanks, merging to 2.1!

@HyukjinKwon
Copy link
Member

@bdrillard, sounds properly backported. Would you close this?

@manojlds
Copy link

Finding it difficult to track. Is this available in a 2.1 release?

@cloud-fan
Copy link
Contributor

it was backported and then reverted because it's too risky, we can close this PR.

@manojlds
Copy link

@cloud-fan - thanks. Is there any known workaround for this?

@cloud-fan
Copy link
Contributor

Unfortunately there is no workaround... You can upgrade to spark 2.3 or do the backport and make a new release in your company. cc @rxin any ideas for this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants