spark-rapids
spark-rapids copied to clipboard
[WIP] initial PR for the framework resuing Vanila Spark's UTs (borrow from …
…Gluten)
This PR close https://github.com/NVIDIA/spark-rapids/issues/10745
This PR adds a framework to enabling Vanilla Spark UTs by:
- Some utility Traits, most importantly RapidsTestsTrait and RapidsSQLTestsTrait for rapids test suite to extend, these traits: injects rapids backboned spark session to the base class, as well as allow testcase level exclusion/inclusion.
- A centralized control center called RapidsTestSettings, which decides what suites/testcases are included/excluded.
- A first batch of 8 suites are enabled, listed at https://github.com/NVIDIA/spark-rapids/pull/10743/files#diff-4be8dbebdd70379fcc56bae360c6997a9a2b6e66ce48b229c7ff289ae02a5222R41
Most of codes are copied from Apache Gluten, which also follows Apache license. To respect their work I kept their origin Apache License header in the source code file.
Currently we only focus on spark 3.3.1.
Check out more details at our internal design doc.
build
build
build
build
build
build
Hi @GaryShen2008 @jlowe the PR has passed all CI checks, can you please help to review?
build
build
build
build
build