[SPARK-62043][SQL][TEST] Remove test tags that ScalaTest never reads

### What changes were proposed in this pull request?

This PR removes 9 test tag annotations that have no effect, and 3 imports that are unused after the removal.

| Kind | Class | Tag |
|---|---|---|
| Non-Suite class | `FakeDataStream` | `SlowSQLTest` |
| Trait | `V2JDBCTest`, `V2JDBCNamespaceTest` | `DockerTest` |
| Trait | `RocksDBStateStoreTest` | `SlowSQLTest` |
| Abstract class | `StateStoreDecoupledMaintenanceSuiteBase` | `ExtendedSQLTest` |
| Abstract class | `StreamingInnerJoinBase`, `StreamingOuterJoinBase`, `StreamingFullOuterJoinBase`, `StreamingLeftSemiJoinBase` | `SlowSQLTest` |

### Why are the changes needed?

The Spark test tags under `common/tags` are not `Inherited`, and ScalaTest collects class-level tags only from the concrete suite class via `theSuite.getClass.getAnnotations` ([Suite.scala in release-3.2.19 (2024-04-20)](https://github.com/scalatest/scalatest/blob/release-3.2.19/jvm/core/src/main/scala/org/scalatest/Suite.scala#L1983-L1989)). So, a tag on a non-test class, a trait, or an abstract base class is never applied to any test. It only misleads readers into thinking that the subclasses are tagged.

All concrete subclasses already have their own tags.
- `DockerTest`: `DB2IntegrationSuite`, `DB2NamespaceSuite`, and the other implementations of `V2JDBCTest` and `V2JDBCNamespaceTest`
- `SlowSQLTest`: `RocksDBStateStore*Suite`, `StreamingInnerJoinWithVCFSuite` and the other `Streaming*JoinWith(out)VCFSuite`s, and `Streaming*JoinV4Suite`
- `ExtendedSQLTest`: `RocksDBDecoupledMaintenanceSuite`

`StateStoreDecoupledMaintenanceSuite` has no tag because the tag of its base class was never inherited, so it keeps running in the same test group as before.

### Does this PR introduce _any_ user-facing change?

No. This is a test-only change, and the set of tests selected by each tag is unchanged.

### How was this patch tested?

Pass the CIs. I also checked that the test code compiles.

```
$ build/sbt -Pdocker-integration-tests sql/Test/compile docker-integration-tests/Test/compile
```

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 5.5

Closes #60688 from dongjoon-hyun/SPARK-62043.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>


skip-checks: true
6 files changed
tree: 101049b49c3b38b85150c5147639776818016db7
  1. .agents/
  2. .github/
  3. .mvn/
  4. assembly/
  5. bin/
  6. binder/
  7. build/
  8. common/
  9. conf/
  10. connector/
  11. core/
  12. data/
  13. dev/
  14. docs/
  15. examples/
  16. graphx/
  17. hadoop-cloud/
  18. launcher/
  19. licenses/
  20. licenses-binary/
  21. mllib/
  22. mllib-local/
  23. project/
  24. python/
  25. R/
  26. repl/
  27. resource-managers/
  28. sbin/
  29. sql/
  30. streaming/
  31. tools/
  32. udf/
  33. ui-test/
  34. .asf.yaml
  35. .gitattributes
  36. .gitignore
  37. .ignore
  38. .nojekyll
  39. .pre-commit-config.yaml
  40. .sbtopts
  41. AGENTS.md
  42. CONTRIBUTING.md
  43. LICENSE
  44. LICENSE-binary
  45. NOTICE
  46. NOTICE-binary
  47. pom.xml
  48. pyproject.toml
  49. README.md
  50. scalastyle-config.xml
  51. SECURITY.md
README.md

Apache Spark

Spark is a unified analytics engine for large-scale data processing. It provides high-level APIs in Scala, Java, Python, and R (Deprecated), and an optimized engine that supports general computation graphs for data analysis. It also supports a rich set of higher-level tools including Spark SQL for SQL and DataFrames, pandas API on Spark for pandas workloads, MLlib for machine learning, GraphX for graph processing, and Structured Streaming for stream processing.

License Maven Central Java GitHub Actions Build PySpark Coverage PyPI Downloads

Online Documentation

You can find the latest Spark documentation, including a programming guide, on the project web page. This README file only contains basic setup instructions.

Build Pipeline Status

See the Apache CI dashboard for an overview of Spark's CI usage.

BranchStatus
masterGitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
branch-4.xGitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
branch-4.4GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
branch-4.3GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
branch-4.2GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
branch-4.1GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
branch-4.0GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
GitHub Actions Build
branch-3.5GitHub Actions Build
GitHub Actions Build
GitHub Actions Build

Building Spark

Spark is built using Apache Maven. To build Spark and its example programs, run:

./build/mvn -DskipTests clean package

(You do not need to do this if you downloaded a pre-built package.)

More detailed documentation is available from the project site, at “Building Spark”.

For general development tips, including info on developing Spark using an IDE, see “Useful Developer Tools”.

Interactive Scala Shell

The easiest way to start using Spark is through the Scala shell:

./bin/spark-shell

Try the following command, which should return 1,000,000,000:

scala> spark.range(1000 * 1000 * 1000).count()

Interactive Python Shell

Alternatively, if you prefer Python, you can use the Python shell:

./bin/pyspark

And run the following command, which should also return 1,000,000,000:

>>> spark.range(1000 * 1000 * 1000).count()

Example Programs

Spark also comes with several sample programs in the examples directory. To run one of them, use ./bin/run-example <class> [params]. For example:

./bin/run-example SparkPi

will run the Pi example locally.

You can set the MASTER environment variable when running examples to submit examples to a cluster. This can be spark:// URL, “yarn” to run on YARN, and “local” to run locally with one thread, or “local[N]” to run locally with N threads. You can also use an abbreviated class name if the class is in the examples package. For instance:

MASTER=spark://host:7077 ./bin/run-example SparkPi

Many of the example programs print usage help if no params are given.

Running Tests

Testing first requires building Spark. Once Spark is built, tests can be run using:

./dev/run-tests

Please see the guidance on how to run tests for a module, or individual tests.

There is also a Kubernetes integration test, see resource-managers/kubernetes/integration-tests/README.md

A Note About Hadoop Versions

Spark uses the Hadoop core library to talk to HDFS and other Hadoop-supported storage systems. Because the protocols have changed in different versions of Hadoop, you must build Spark against the same version that your cluster runs.

Please refer to the build documentation at “Specifying the Hadoop Version and Enabling YARN” for detailed guidance on building for a particular distribution of Hadoop, including building for particular Hive and Hive Thriftserver distributions.

Configuration

Please refer to the Configuration Guide in the online documentation for an overview on how to configure Spark.

Contributing

Please review the Contribution to Spark guide for information on how to get started contributing to the project.