Skip to content

docs: add research notes on hybrid execution for Comet Native Executors - #7545

Draft
andygrove wants to merge 1 commit into
apache:mainfrom
andygrove:native-executors-research-docs
Draft

andygrove wants to merge 1 commit into
apache:mainfrom
andygrove:native-executors-research-docs

Conversation

@andygrove

Copy link
Copy Markdown
Member

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?

  • A new contributor guide page, 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.
  • The architecture diagram, docs/source/_static/images/comet-native-executors.svg, shown on that page.
  • A toctree entry for the page in docs/source/contributor-guide/index.md.

How are these changes tested?

Documentation only, so there are no tests. I checked that prettier --check passes on the changed Markdown files, that the SVG is well-formed XML and is covered by the existing docs/source/_static/images/*.svg entry in dev/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 on main. I did not build the Sphinx docs.

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.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant