baibaichen opened a new pull request, #11816:
URL: https://github.com/apache/gluten/pull/11816

   ### What changes were proposed in this pull request?
   
   Enable 13 test suites that were disabled in #11800 by fixing root causes:
   
   **Real fixes (7 suites):** Suites that create per-test SparkContexts 
conflicted with GlutenPlugin's persistent session. Fixed by switching to 
`GlutenTestsCommonTrait` + injecting GlutenPlugin via `System.setProperty` so 
each test's SparkSession loads it.
   
   | Suite | Fix | Tests Passed |
   |-------|-----|:---:|
   | GlutenSQLExecutionSuite | System.setProperty injection | 7 |
   | GlutenSQLJsonProtocolSuite | System.setProperty injection | 3 |
   | GlutenShufflePartitionsUtilSuite | System.setProperty injection | 9 |
   | GlutenExternalAppendOnlyUnsafeRowArraySuite | System.setProperty injection 
| 14 |
   | GlutenUnsafeRowSerializerSuite | System.setProperty injection | 5 |
   | GlutenCsvExpressionsSuite | Override test (AnalysisException vs 
TestFailedException) | 18 |
   | GlutenSparkPlanSuite | Override test (find VeloxColumnarToRowExec) | 9 |
   
   **Targeted excludes (6 suites):** Enabled with `.exclude()` for specific 
tests that cannot pass under Gluten:
   
   | Suite | Excluded Test(s) | Reason | Tests Passed |
   |-------|-----------------|--------|:---:|
   | GlutenGroupBasedUpdateTableSuite | `update with NOT NULL checks` | Velox 
exception type differs | 33 |
   | GlutenWholeTextFileV1Suite | `reading text file with option 
wholetext=true` | jar:file: URI | 2 |
   | GlutenWholeTextFileV2Suite | `reading text file with option 
wholetext=true` | jar:file: URI | 2 |
   | GlutenScalaUDFSuite | `variant basic output variant` | Spark 4.1 Variant 
encoder bug | 6 |
   | GlutenExpressionEvalHelperSuite | 2 SPARK-16489/25388 tests | Gluten 
checkEvaluation behavior | 1 |
   | GlutenToPrettyStringSuite | `Timestamp as pretty strings` | Velox timezone 
| 22 |
   
   ### How was this patch tested?
   
   All 13 suites verified on spark41 via `run-scala-test.sh --mvnd`. 
SparkContext-conflict suites also verified on spark40.


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