manuzhang opened a new pull request, #17519:
URL: https://github.com/apache/iceberg/pull/17519

   ## Summary
   
   - use the existing OpenAPI shadow runtime artifact for Spark 4.1 test 
fixtures
   - keep the dependency non-transitive because the shadow artifact is 
self-contained
   - avoid resolving the disabled normal `iceberg-open-api` JAR while packaging 
JMH benchmarks
   
   ## Root cause
   
   PR #10837 made the OpenAPI test-fixtures dependency transitive. The 
test-fixtures variant has an implicit dependency on the normal OpenAPI 
artifact, but that project's `jar` task is disabled in favor of `shadowJar`. As 
a result, Spark 4.1's `jmhJar` task failed with:
   
   ```
   Cannot expand ZIP .../iceberg-open-api-<version>.jar as it does not exist.
   ```
   
   This fixes the failure observed in 
https://github.com/apache/iceberg/actions/runs/30725020250/job/91434956426.
   
   ## Validation
   
   - clean, no-build-cache `:iceberg-spark:iceberg-spark-4.1_2.13:jmhJar` with 
the failing benchmark selector
   - `./gradlew spotlessCheck`
   - `git diff --check`
   
   ---
   **AI Disclosure**
   - Model: GPT-5
   - Platform/Tool: Codex
   - Human Oversight: partially reviewed
   - Prompt Summary: Diagnose and fix the recurring Spark 4.1 JMH benchmark 
failure caused by the missing OpenAPI JAR.


-- 
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]

Reply via email to