sundapeng opened a new pull request, #9482: URL: https://github.com/apache/paimon/pull/9482
### Purpose `format-table.statistics.parallelism` can be set to zero or a negative value through Spark configuration. The NOSCAN collector already clamps it to at least one, but full ANALYZE used the raw value to derive Spark task count. Zero caused division by zero and a negative value produced an invalid partition count before any footer was read. This change applies the same lower bound before deriving executor tasks and per-task file concurrency. ### Tests - `CatalogManagedPartitionAnalyzeTest` with Spark 3: 23/23 - `CatalogManagedPartitionAnalyzeTest` with Spark 4: 23/23 - Mutation check: a zero-only guard fails the new negative-value arm - Spotless check for the affected Spark modules -- 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]
