cgivre opened a new pull request, #3032:
URL: https://github.com/apache/drill/pull/3032

   # [DRILL-XXXX](https://issues.apache.org/jira/browse/DRILL-XXXX): Convert 
Hive Unit Tests to Docker
   
   ## Description
   This PR migrates all Hive storage plugin integration tests from the 
deprecated embedded HiveServer2 approach (which fails on Java 11+ due to 
`URLClassLoader` incompatibility) to a Docker-based testing infrastructure 
using Testcontainers.  
   
   The migration includes all 6 complex type test classes:
   * TestHiveArrays with 52 tests
   * TestHiveMaps
   * TestHiveStructs
   * TestHiveUnions 
    and authorization tests (TestStorageBasedHiveAuthorization, 
TestSqlStdBasedAuthorization), with all tests rewritten to generate test data 
via JDBC connections instead of relying on pre-existing embedded data. 
   
   To address the 20-30 minute Docker container startup time on ARM64 Macs (due 
to AMD64 image emulation), the PR adds architecture-aware Maven profiles that 
automatically skip Hive integration tests on ARM64 while allowing them to run 
normally on AMD64 systems (CI/CD). Developers can override with 
`-Pforce-hive-tests` if needed.
   
   ## Documentation
   No user facing changes.
   
   ## Testing
   


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