Repository navigation
Conversation
Records research on running part of a query in Spark, on speaking Spark's protocols from the cluster, and a proposed block transfer experiment, together with the architecture diagram of Comet Native Executors.
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.
Which issue does this PR close?
Part of #7288.
Rationale for this change
Comet Native Executors run whole Spark queries on a cluster with no JVM in the data plane, and a query that cannot run entirely in the Comet pipeline fails. Running part of a query in Spark, and speaking Spark's own protocols from the cluster, are possible directions for later. This records the design research and the architecture diagram so that the experiments can be discussed.
This is split out of #7289 so that it can be reviewed separately. It is documentation only and does not depend on any code.
What changes are included in this PR?
docs/source/contributor-guide/native_executors_research.md. It gives a short overview of Comet Native Executors and then covers: the places where data crosses between Spark and the cluster in the design, approaches for running part of a query in Spark, a shuffle that both engines can read and write, running JVM expressions on the executors, speaking Spark's control plane and block transfer protocols, a proposed first experiment (#7384), and when splitting a query pays off. It describes research, not implemented behavior.docs/source/_static/images/comet-native-executors.svg, shown on that page.docs/source/contributor-guide/index.md.How are these changes tested?
Documentation only, so there are no tests. I checked that
prettier --checkpasses on the changed Markdown files, that the SVG is well-formed XML and is covered by the existingdocs/source/_static/images/*.svgentry indev/release/rat_exclude_files.txt, that the page has one H1 and the ASF license header, that the image path resolves the way the other contributor guide pages reference_static/images, and that the issues the page links to exist and match the sentences that cite them. The page makes no claim about code that is not onmain. I did not build the Sphinx docs.