Repository navigation
Conversation
Add Master Computer and SuperStep Accumulator to Pregel GraphX Implemention
|
Can one of the admins verify this patch? |
Author
|
Wait, this isn't going to get me what I want, because I can't read the ssAccumulator in the vprog. I think I will have to change to a boardcast. I will |
Author
|
Never mind. I had to close the pull request. I thought about it. The ccAccumulator is not accessible from the vprog which was my goal. I'm going to have to use a broadcast. I will have an update for tomorrow. |
wangyum
added a commit
that referenced
this pull request
May 26, 2023
…cept decimal type (#1111) * [CARMEL-6300] Casts types according to bucket info for Equality expressions * Update TypeCoercion.scala
MaxGekk
added a commit
to MaxGekk/spark
that referenced
this pull request
Oct 29, 2026
…they cite (apache#1112) ### What changes were proposed in this pull request? A new row in the milestone 8 plan, and the evidence behind it in `sql/varka/plans/m8/results/VARKA-512-quote-gap.txt`. **Row 512** makes `dev/varka_quote_check.py` hold each number a plan quotes to the results files its row or paragraph cites. In four steps: 1. Search the plans' own results files. 2. Match a quote against the files its row, or for prose its paragraph, cites by path. Fall back to the whole set only where it cites none, and report that case. 3. Widen the number shapes the check reads, measuring the extra count of each before turning it on. 4. Give every rejected quote its citation, or allowlist it with a reason. ### Why are the changes needed? The plans' rule is that every quoted number traces to a committed results file, and the quote check enforces it. But the check doesn't read the 28 results files under `sql/varka/plans/*/results/`, where most plan numbers are measured. It also accepts a number whose digits appear anywhere in the benchmark outputs. A draft of the step 4 sentence for apache#1111 showed both effects: - four of its numbers passed on unrelated benchmark files, among them a Parquet reader benchmark, while their real source went unread; - two numbers that were measured were reported as missing. Percentages, integers and one-digit decimals are never checked, so a plan can pass the check simply by rounding. ### Does this PR introduce _any_ user-facing change? No. This changes plan documents only. ### How was this patch tested? `dev/varka_plan_lint.py --check` and `dev/varka_quote_check.py` are clean. The gap was measured with a copy of the check that also searches the plans' results files: it found no new orphans, because extra sources only ever add matches. The four numbers' coincidental sources were found with grep. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 5.5)
MaxGekk
added a commit
to MaxGekk/spark
that referenced
this pull request
Oct 29, 2026
…aved (apache#1111) ### What changes were proposed in this pull request? This measures what the previous pull requests saved by checking Varka's answers in a harness without a Spark session instead of through one. The coverage, differential and time-arithmetic suites are measured on the laptop, in the pull request's Build and in the option matrix. The PR also adds the script that reads the CI numbers. - `sql/varka/plans/m8/results/VARKA-509-step4.txt`: - **Laptop, at the defaults:** the suites take 135.8 s where they took 472.2, with 1,211 tests against 1,172. - **Pull request's Build:** the Varka jobs spend 399.3 s on them against 1,064.1. The longest sql job takes 24 minutes against 33. - **Option matrix:** their configuration-hours fall from 11.96 to 1.61, and the run's suite-hours from 35.30 to 22.61. - **Matrix wall time:** it went from 58 minutes to 45, set by the run's longest bin rather than by its total work. - `dev/varka_matrix_run.py`: one run's cost, from the Actions API and the artifacts the run uploads. - For an option-matrix run: its wall time, bins, JVM time, and each suite's hours under the configurations. - For a Build: its sql and catalyst test jobs' minutes, and each named suite's seconds, from either the full module jobs or the Varka-scoped jobs. - The plan marks the task done. The profile after the move, in `VARKA-510-planning-local.txt` (merged with apache#1108), shows where the time goes now. ### Why are the changes needed? The move had to be measured against the cost it set out to cut, and the measurement found two costs that affect the next steps: - **The reach recording.** The Build records which configurations change what each test compiles, so the matrix can skip unchanged tests. That recording doubles a harness suite's time in the Build: 45 s plain against 92 s recording for the three harness suites on the laptop. We keep it, because it lets the matrix skip what a configuration doesn't change. - **Query planning.** With the session gone, the harness's largest cost is Spark's analyzer and optimizer, planning one tiny query at a time. The two "before" Builds were checked for comparability. The first Build of step 1 predates the reach recording, the three-job split and the sort-page fix, so it isn't used. The before is step 1's last Build, which has all three, like the after. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? - `dev/varka_matrix_run.py --self-test`; ruff check and ruff format. - `dev/varka_plan_lint.py --check` and `dev/varka_quote_check.py` are clean. - The Java and Scala linters don't apply: this changes no Java or Scala. - **No option matrix is dispatched.** This PR changes no code the matrix runs, and apache#1107's matrix (run 40855387471) passed on the same tree of code. This PR is stacked on apache#1107. Until apache#1107 merges, its diff also shows apache#1107's files. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (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.
Add Master Computer and SuperStep Accumulator to Pregel GraphX
Implemention