dongjoon-hyun opened a new pull request, #60563:
URL: https://github.com/apache/spark/pull/60563

   ### What changes were proposed in this pull request?
   
   This PR aims to fix the `branch-4.x` compilation error in 
`AcceptAnySchemaMergeIntoTableSuiteBase` by removing the `DataSourceV2Test` tag 
from its three test suites.
   
   The `branch-4.x` backport of SPARK-61725 (#60511), 
https://github.com/apache/spark/commit/10117dfcfef87161786d00d99fb72d3f16273d24,
 adds a new test file whose suites are annotated with `@DataSourceV2Test`. 
However, `master` got this tag from SPARK-61685 (#60488), which is not in 
`branch-4.x`. Like the other `branch-4.x` DSv2 test suites, these suites run 
without a tag.
   
   ### Why are the changes needed?
   
   To fix the `branch-4.x` compilation error. Currently, every `branch-4.x` CI 
build fails while compiling `sql/core` tests.
   - https://github.com/apache/spark/actions/runs/43836722626
   
   ```
   [error] 
.../sql/core/src/test/scala/org/apache/spark/sql/connector/AcceptAnySchemaMergeIntoTableSuiteBase.scala:34:30:
 object DataSourceV2Test is not a member of package org.apache.spark.tags
   [error] import org.apache.spark.tags.DataSourceV2Test
   [error]                              ^
   [error] 
.../sql/core/src/test/scala/org/apache/spark/sql/connector/AcceptAnySchemaMergeIntoTableSuiteBase.scala:191:2:
 not found: type DataSourceV2Test
   [error] @DataSourceV2Test
   [error]  ^
   ...
   [error] four errors found
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This is a test-only change.
   
   ### How was this patch tested?
   
   Pass the CIs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5
   


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