shivadarshan-devadiga opened a new pull request, #13405:
URL: https://github.com/apache/gluten/pull/13405

   ## What changes are proposed in this pull request?
   
   Fixes https://github.com/apache/gluten/issues/12856
   
   The Hive SQL query suites created persistent Hive tables and dropped them 
only after the assertions ran. The drop was a plain statement outside 
`withTable` or a `finally`, so a failed assertion skipped it. The Hive suites 
share one `TestHive` singleton, so the leftover table stayed in the metastore 
and warehouse, and later cases in the same JVM could see it. Some cases also 
mixed two cleanup styles: a `DROP TABLE IF EXISTS` at the start of the body and 
`spark.sessionState.catalog.dropTable(...)` at the end.
   
   This PR wraps each affected case in `withTable(...)` and removes the manual 
drops, across all five modules (`gluten-ut/spark34`, `spark35`, `spark40`, 
`spark41`, `spark42`)
   
   ## How was this patch tested?
   CI
   
   ## Was this patch authored or co-authored using generative AI tooling?
   No
   


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