Skip to content

feat(visualization): export the charts drawn over a field or a sequence - #8504

Draft
kz930 wants to merge 1 commit into
apache:mainfrom
kz930:feat/standalone-viz-domain-plots
Draft

feat(visualization): export the charts drawn over a field or a sequence#8504
kz930 wants to merge 1 commit into
apache:mainfrom
kz930:feat/standalone-viz-domain-plots

Conversation

@kz930

@kz930 kz930 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Ten charts implement StandaloneCodeGenerator: Filled Area, Contour, Dumbbell, Time Series, Quiver, Choropleth Map, 3D Scatter, Volcano, Gantt and Carpet. What they share is the question they answer, which is how a value varies across a domain rather than where a row sits on an axis.

Each emits the plotly its executor emits and writes the page to the file the translator names for it, so a plan holding two charts writes two files rather than one overwriting the other. A chart that cannot be drawn writes the reason to that page rather than printing it: the engine's operator yields a page either way, so an export that printed instead would leave the run with no file where the workflow had one.

#8346 keeps the charts drawn on a coordinate system.

Any related issues, documentation, discussions?

Part of #8325, 17 of 27; that issue lists the set in order.

Two behaviour fixes travel with these charts, both on operators that moved here: the Filled Area Plot requires its line group once the switch that reads it is on, and the Contour Plot says what it cannot contour instead of ending the run. Closes #8283, closes #8076.

Closes #8503, the task this change is the whole of.

How was this PR tested?

Each chart asserts the block it emits in its own spec. Contour, Filled Area and Carpet additionally run the generated Python, since what they are worth checking is that the page comes out at all on the inputs that cannot be drawn: collinear points, a group with no line to draw, a table emptied by dropping nulls.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5)

🤖 Generated with Claude Code

Ten charts implement the trait: Filled Area, Contour, Dumbbell, Time
Series, Quiver, Choropleth Map, 3D Scatter, Volcano, Gantt and Carpet.
What they share is the question they answer, which is how a value varies
across a domain rather than where a row sits on an axis.

Split out of the coordinate-system change on review, which had grown past
what one reading can hold.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @eugenegujing, @aglinxinyuan
    You can notify them by mentioning @eugenegujing, @aglinxinyuan in a comment.

@codecov-commenter

codecov-commenter commented Sep 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.69%. Comparing base (1fbd346) to head (539c969).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8504      +/-   ##
============================================
- Coverage     93.69%   93.69%   -0.01%     
+ Complexity     4826     4816      -10     
============================================
  Files          1209     1209              
  Lines         49871    49861      -10     
  Branches       6099     6099              
============================================
- Hits          46727    46717      -10     
  Misses         1652     1652              
  Partials       1492     1492              
Flag Coverage Δ *Carryforward flag
access-control-service 80.18% <ø> (ø)
agent-service 99.32% <ø> (ø) Carriedforward from 1fbd346
amber 89.91% <ø> (-0.01%) ⬇️ Carriedforward from 1fbd346
computing-unit-managing-service 77.14% <ø> (ø)
config-service 87.12% <ø> (ø)
file-service 83.65% <ø> (ø) Carriedforward from 1fbd346
frontend 96.16% <ø> (ø) Carriedforward from 1fbd346
notebook-migration-service 83.73% <ø> (ø)
pyamber 98.47% <ø> (ø) Carriedforward from 1fbd346
workflow-compiling-service 77.19% <ø> (ø) Carriedforward from 1fbd346

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

📊 Arrow Flight E2E bench

(no arrow-flight-e2e.csv in artifact)

Full dashboard · Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants