Repository navigation
Conversation
…Function2, as apparently intended
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. |
|
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14644/ |
Contributor
|
Jenkins, retest this please. |
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. All automated tests passed. |
|
All automated tests passed. |
Contributor
|
Thanks for catching this @srowen, I've merged it. |
asfgit
pushed a commit
that referenced
this pull request
May 4, 2014
…eam.reduceByKeyAndWindow() It appears that one of these methods doesn't use `org.apache.spark.api.java.function.Function2` like all the others, but uses Scala's `Function2`. Author: Sean Owen <sowen@cloudera.com> Closes #633 from srowen/SPARK-1663.2 and squashes the following commits: 1e0232d [Sean Owen] Fix signature of one version of reduceByKeyAndWindow to use Java API Function2, as apparently intended (cherry picked from commit 0088ced) Signed-off-by: Patrick Wendell <pwendell@gmail.com>
pdeyhim
pushed a commit
to pdeyhim/spark-1
that referenced
this pull request
Jun 25, 2014
…eam.reduceByKeyAndWindow() It appears that one of these methods doesn't use `org.apache.spark.api.java.function.Function2` like all the others, but uses Scala's `Function2`. Author: Sean Owen <sowen@cloudera.com> Closes apache#633 from srowen/SPARK-1663.2 and squashes the following commits: 1e0232d [Sean Owen] Fix signature of one version of reduceByKeyAndWindow to use Java API Function2, as apparently intended
bzhaoopenstack
pushed a commit
to bzhaoopenstack/spark
that referenced
this pull request
Sep 11, 2019
* fix conformance jobs cpo Setting env variable as mentioned here kubernetes/test-infra#14164 (comment) * fix cpo conformance job
rshkv
pushed a commit
to rshkv/spark
that referenced
this pull request
Feb 27, 2020
## What changes were proposed in this pull request? Force `xz` to v1.8 to match `commons-compress`'s dependency on that version. ## How was this patch tested? CI ## Notes Rebased version of apache#633 to kick off CI
MaxGekk
added a commit
to MaxGekk/spark
that referenced
this pull request
Oct 5, 2026
### What changes were proposed in this pull request? A new task in milestone 7: row 288 in `sql/varka/plans/m7/PLAN.md` (the promotion section, 2.5), with its plan in `sql/varka/plans/m7/VARKA-288.md`. The task is a blog post that continues "[The 8000-byte cliff in Spark SQL](https://vecbricks.github.io/the-8000-byte-cliff/)". - **The thread it closes.** The cliff post showed a large `CASE WHEN` inside a whole-stage stage stepping off the cliff (9433 bytes at 100 branches, about 6x slower). It listed SPARK-33301 as in review and offered `spark.sql.codegen.hugeMethodLimit=8000` as the workaround. apache#59225 fixes it. - **The post's point.** Splitting costs 5-15% where a stage has no cliff, because C2 stops inlining partway through the chain of calls. So the stage decides per method: it compiles a trial, reads each method's size off the class, and splits only the methods past 8000 bytes. That is the counterpart of "[Under 8000 bytes by construction](https://vecbricks.github.io/under-8000-bytes-by-construction/)": Varka knows each size as it emits the method, while Spark can only measure. - **What the record already holds.** The `CaseWhenCodegenBenchmark` results files on apache#59225's branch: 30-50x faster past the line, unchanged below it. - **Two measurements before the draft, with registered predictions.** - The cliff post's workaround against the fix. Expected to time close to running with whole-stage codegen off, about 3x slower than the fix at 300 branches. - `-XX:+PrintInlining` evidence for why splitting always costs. - **The outline.** About 1200-1500 words with two figures, building on the cliff post rather than repeating it. - **Done when.** apache#59225 has merged and the post names the release that ships it. Both measurements are committed and scored, and the post is published. The three published posts also link to apache#59225 instead of apache#59069, the earlier pull request it replaced; that fix can land now. ### Why are the changes needed? So that the fix gets its post. The cliff post told its readers this case was still open, and the sequel shows what changed, measured against the workaround the cliff post recommended. ### Does this PR introduce _any_ user-facing change? No. Plan only. ### How was this patch tested? `dev/varka_quote_check.py` is clean, and the Varka pre-commit check reports no findings. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It appears that one of these methods doesn't use
org.apache.spark.api.java.function.Function2like all the others, but uses Scala'sFunction2.