You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What changes were proposed in this pull request?
Hive_2_1_DDLSuite was added in SPARK-21617 (2.3.0), in those days, the built-in Hive version was 1.2.1.
> A separate set of DDL tests that uses Hive 2.1 libraries, which behave a little differently from the built-in ones.
After a closer look, the real difference is, Hive enables `hive.metastore.disallow.incompatible.col.type.changes` since HIVE-12320 (2.0.0)
Now we upgraded the built-in Hive to 2.3.10, the comments become misleading and we can simply use the global `TestHiveSingleton` with overriding `hive.metastore.disallow.incompatible.col.type.changes` to achieve the same test purpose.
### Why are the changes needed?
Simplify and speed up the test, and update the outdated comments for clarity.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
```
sbt:spark-hive> testOnly *HiveIncompatibleColTypeChangeSuite
...
[info] Run completed in 11 seconds, 429 milliseconds.
[info] Total number of tests run: 4
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 4, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 18 s, completed Jun 24, 2025, 11:26:07 PM
```
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#51271 from pan3793/SPARK-52567.
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
0 commit comments