aglinxinyuan opened a new pull request, #9419: URL: https://github.com/apache/texera/pull/9419
### What changes were proposed in this PR? Share static Python chart bodies between runtime and export, and centralize repeated standalone error renderers and output-writing fragments. This removes 195 net lines across 44 visualization descriptors and two shared helpers while preserving the generated Python, chart messages, whitespace and runtime-only comments. ### Any related issues, documentation, discussions? Closes #9418. ### How was this PR tested? ```sh sbt "WorkflowOperator/scalafix --check" scalafmtCheckAll ``` 390 tests passed across 52 suites, with one existing pending case: <details> <summary>Exact test command</summary> ```sh sbt "WorkflowOperator/testOnly *DotPlotOpDescSpec *ScatterMatrixChartOpDescSpec *BarChartOpDescSpec *BoxViolinPlotOpDescSpec *BubbleChartOpDescSpec *BulletChartOpDescSpec *BulletChartStepDefinitionSpec *CandlestickChartOpDescSpec *CarpetPlotOpDescSpec *ChoroplethMapOpDescSpec *BandConfigSpec *ContinuousErrorBandsOpDescSpec *ContourPlotOpDescSpec *DendrogramOpDescSpec *DumbbellDotConfigSpec *DumbbellPlotOpDescSpec *ECDFPlotOpDescSpec *FigureFactoryTableConfigSpec *FigureFactoryTableOpDescSpec *FilledAreaPlotOpDescSpec *FunnelPlotOpDescSpec *GanttChartOpDescSpec *GaugeChartOpDescSpec *GaugeChartStepsSpec *HeatMapOpDescSpec *HistogramChartOpDescSpec *Histogram2DOpDescSpec *LineChartOpDescSpec *LineConfigSpec *NestedTableConfigSpec *NestedTableOpDescSpec *NetworkGraphOpDescSpec *ParallelCoordinatesPlotOpDescSpec *PieChartOpDescSpec *PolarChartOpDescSpec *QuiverPlotOpDescSpec *RadarChartOpDescSpec *RadarPlotOpDescSpec *RangeSliderOpDescSpec *SankeyDiagramOpDescSpec *Scatter3dChartOpDes cSpec *ScatterPlotOpDescSpec *StripChartOpDescSpec *TablesConfigSpec *TablesPlotOpDescSpec *TernaryContourOpDescSpec *TernaryPlotOpDescSpec *TreePlotOpDescSpec *WaterfallChartOpDescSpec *WindRoseChartOpDescSpec *WordCloudOpDescSpec *VisualizationOutputSchemaSpec" ``` </details> Additional characterization checks compare generated scripts, operator schemas/metadata, serialization IDs and legacy reads. All 120 extracted blocks remain byte-identical; 459 direct execution cases preserve rendered error HTML, write order, printed messages and partial output on write failures. The repository-wide `sbt "scalafixAll --check"` attempt stopped in unchanged modules on missing locally generated jOOQ fields and unavailable Bash. The changed module's lint check above passed. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-6) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
