yaooqinn opened a new pull request, #49551: URL: https://github.com/apache/spark/pull/49551
### What changes were proposed in this pull request? The Plan graph and plan detail are affected by the injected ToPrettyString expression. They are not consistent with the output of our `explain` API. If there are a lot of output columns, the UI looks malformed. ![image](https://github.com/user-attachments/assets/f7f32369-b5c5-47d3-b320-ffaff55867a6) ### Why are the changes needed? It's not good to keep noise on the user's daily debug tool ### Does this PR introduce _any_ user-facing change? No, this only changes the ongoing 4.0 ### How was this patch tested? Added UT and UI manual test ![image](https://github.com/user-attachments/assets/f851096a-b952-419e-9062-3995e6b1697c) ### Was this patch authored or co-authored using generative AI tooling? <!-- If generative AI tooling has been used in the process of authoring this patch, please include the phrase: 'Generated-by: ' followed by the name of the tool and its version. If no, write 'No'. Please refer to the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) for details. --> no -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org