huangxiaopingRD opened a new pull request, #56587: URL: https://github.com/apache/spark/pull/56587
### What changes were proposed in this pull request? The purpose of this change is to fix how `SHOW TABLE EXTENDED` formats table properties for v2 tables. ### Why are the changes needed? Fix a bug.Before this change, the code converted the redacted property entries into a single string too early, and the later `mkString` call operated on that string character by character. As a result, the `Table Properties` output could be formatted incorrectly. This update keeps the properties as a list of `key=value` entries until the final formatting step, so the command produces the expected bracketed, comma-separated property list. ### Does this PR introduce _any_ user-facing change? Yes. Execute show table extended: `show table extended in paimon.`dev_xxx` like 'test_show_table_extended';` Before this PR, the output result is: <img width="2448" height="604" alt="image" src="https://github.com/user-attachments/assets/c0034197-0848-4bd3-ba42-f08279489d31" /> After this PR: <img width="1860" height="456" alt="image" src="https://github.com/user-attachments/assets/318e1778-36a5-4ccb-8725-4e48bfd7b4a4" /> ### How was this patch tested? <!-- If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible. If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future. If tests were not added, please describe why they were not added and/or why it was difficult to add. If benchmark tests were added, please run the benchmarks in GitHub Actions for the consistent environment, and the instructions could accord to: https://spark.apache.org/developer-tools.html#github-workflow-benchmarks. --> ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
