JingsongLi commented on PR #8062:
URL: https://github.com/apache/paimon/pull/8062#issuecomment-4603768377

   This currently breaks `paimon-spark-ut` test compilation on the PR head. I 
ran:
   
   ```shell
   mvn -pl paimon-spark/paimon-spark-ut -am -Pfast-build -DfailIfNoTests=false \
     
-DwildcardSuites=org.apache.paimon.spark.execution.CopyIntoCastValidatorTest 
-Dtest=none test
   ```
   
   and the Scala test compile fails before running the suite:
   
   ```text
   CopyIntoCastValidatorTest.scala:29: not found: type CopyIntoCastValidator
   CopyIntoDataFrameBuilderTest.scala:32: not found: type 
CopyIntoDataFrameBuilder
   CopyIntoHelperTest.scala:28: not found: value CopyIntoHelper
   ```
   
   The production `paimon-spark-common` module compiles, but these new 
helper-level tests were added under `paimon-spark-ut`. That module depends on 
the Spark-version common artifact (`${paimon-sparkx-common}`, defaulting to 
`paimon-spark3-common_2.12`), while the new helpers are defined in 
`paimon-spark-common` as `private[execution]` classes/objects. As a result the 
tests cannot resolve them from this module/classpath. Could you please move 
these helper-level tests to a module/classpath where `paimon-spark-common` 
sources are directly visible, or cover the same behavior through the existing 
Spark-version COPY INTO suites?
   


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

Reply via email to