LuciferYang opened a new issue, #11383: URL: https://github.com/apache/paimon/issues/11383
**Search before asking** - [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar. **Paimon version** master @ ae135d59c9 **Compute Engine** Spark 4.2.1 and 4.3.0. Spark 4.1 is not affected. **Minimal reproduce step** ```sql CREATE TABLE T (id INT NOT NULL, name STRING DEFAULT 'Bob', age INT COMMENT 'Age') PARTITIONED BY (year INT COMMENT 'Year', month INT, day INT); INSERT INTO T VALUES (1, 'a', 16, 2025, 9, 20), (2, 'b', 17, 2025, 9, 21), (3, 'c', 18, 2025, 9, 21); DESCRIBE FORMATTED T PARTITION (year=2025, month=9, day=21); ``` The output has no row for `name` with the default value `'Bob'`. **What doesn't meet your expectations?** The output should match Spark 4.1. `DescribeTableTestBase` "Paimon describe: describe table partition" fails at its default value check. Its later checks for the `id` NOT NULL row and the `Partition Parameters` row also look for rows that only `PaimonDescribeTableExec` prints. `UnreportedPartitionStatisticsTest` checks the Partition Parameters, Partition Statistics and Created Time rows of DESCRIBE PARTITION as well. **Anything else?** Spark 4.2.0 (SPARK-39660) added the `DescribeTablePartition` logical plan, which `DataSourceV2Strategy` plans to `DescribeTablePartitionExec`. `PaimonStrategy` only matches `DescribeRelation` (`PaimonStrategy.scala:202-221`), so on 4.2 and 4.3 the partition form never reaches `PaimonDescribeTableExec`. Spark's exec prints the schema, partitioning and clustering rows, then `Partition Values` and one row per `loadPartitionMetadata` entry. `PaimonDescribeTableExec` runs Spark's full `DescribeTableExec`, which includes the default values, then adds Database, Table, the Partition Parameters, Created Time and Partition Statistics rows, and a `# Column Not Null` section. The spark42 and spark43 CI lanes do not run the shared suites in `paimon-spark-ut`, so CI did not catch this. **Are you willing to submit a PR?** - [x] I'm willing to submit a PR! -- 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]
