[
https://issues.apache.org/jira/browse/SPARK-56331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun resolved SPARK-56331.
-----------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
Issue resolved by pull request 55156
[https://github.com/apache/spark/pull/55156]
> Truncate long node labels in SQL plan visualization
> ---------------------------------------------------
>
> Key: SPARK-56331
> URL: https://issues.apache.org/jira/browse/SPARK-56331
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.2.0
> Reporter: Kent Yao
> Assignee: Kent Yao
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> When SQL plan node names are long (e.g., scan nodes with fully-qualified
> catalog.schema.table paths from custom catalogs), the plan visualization
> graph becomes excessively wide and hard to read.
> Proposed fix: truncate node labels to 36 characters using middle-ellipsis
> (keep operator prefix + table name, truncate catalog/schema path). Full text
> remains available in the tooltip and side panel.
> Example:
> Before: ScanTransformer parquet spark_catalog.longschemaname.catalog_sales
> (60+ chars)
> After: ScanTransformer pa...catalog_sales (36 chars)
> Implementation: in spark-sql-viz.js, apply middle-truncation when generating
> DOT graph labels.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]