Skip to content

Conversation

@jackylee-ch
Copy link

Purpose

While executing mvn test -Pspark4 -pl "org.apache.paimon:paimon-spark-4.0_2.13", I encountered a failure in the unit tests because paimon-spark3-common was being loaded.
image
Further investigation revealed that when running mvn dependency:tree -pl "org.apache.paimon:paimon-spark-4.0_2.13", I could see the paimon-spark3-common dependency brought in via paimon-spark-ut_2.13. The root cause is that the profile defined in paimon-spark-ut_2.13-1.4.0-SNAPSHOT.jar was not being propagated, which caused the default paimon-sparkx-common configuration to be applied.
image

This PR resolves the issue by explicitly specifying the profile, ensuring that the profile metadata is passed along, and thus enabling mvn test -Pspark4 -pl "org.apache.paimon:paimon-spark-4.0_2.13" to run successfully.

Tests

GA

API and Format

No.

Documentation

No.

@jackylee-ch jackylee-ch marked this pull request as draft October 20, 2025 12:41
@jackylee-ch jackylee-ch force-pushed the change_paimon_sparkx_common_dependency branch 2 times, most recently from 7378dfd to 53bd974 Compare October 20, 2025 14:59
@jackylee-ch jackylee-ch force-pushed the change_paimon_sparkx_common_dependency branch from 53bd974 to f418261 Compare October 21, 2025 01:22
@jackylee-ch jackylee-ch marked this pull request as ready for review October 21, 2025 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant