This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new fb3b7ce78fbe [SPARK-54181][SQL][TESTS] Fix typo `withConvertMetastore`
fb3b7ce78fbe is described below
commit fb3b7ce78fbe4cf7cd17d94b1176f251e811e1dc
Author: Kazuyuki Tanimura <[email protected]>
AuthorDate: Tue Nov 4 17:57:40 2025 -0800
[SPARK-54181][SQL][TESTS] Fix typo `withConvertMetastore`
### What changes were proposed in this pull request?
Fixing typos in the test
### Why are the changes needed?
for cleaning up
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Existing tests
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #52882 from kazuyukitanimura/SPARK-54181.
Authored-by: Kazuyuki Tanimura <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../hive/execution/command/V1WriteHiveCommandSuite.scala | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/V1WriteHiveCommandSuite.scala
b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/V1WriteHiveCommandSuite.scala
index a3e864ee55c6..e63352201b93 100644
---
a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/V1WriteHiveCommandSuite.scala
+++
b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/V1WriteHiveCommandSuite.scala
@@ -26,7 +26,7 @@ import org.apache.spark.sql.hive.test.TestHiveSingleton
class V1WriteHiveCommandSuite
extends QueryTest with TestHiveSingleton with V1WriteCommandSuiteBase {
- def withCovnertMetastore(testFunc: Boolean => Any): Unit = {
+ def withConvertMetastore(testFunc: Boolean => Any): Unit = {
Seq(true, false).foreach { enabled =>
withSQLConf(
CONVERT_METASTORE_PARQUET.key -> enabled.toString,
@@ -37,7 +37,7 @@ class V1WriteHiveCommandSuite
}
test("create hive table as select - no partition column") {
- withCovnertMetastore { _ =>
+ withConvertMetastore { _ =>
withPlannedWrite { enabled =>
withTable("t") {
executeAndCheckOrdering(hasLogicalSort = false, orderingMatched =
true) {
@@ -49,7 +49,7 @@ class V1WriteHiveCommandSuite
}
test("create hive table as select") {
- withCovnertMetastore { _ =>
+ withConvertMetastore { _ =>
withPlannedWrite { enabled =>
withTable("t") {
withSQLConf("hive.exec.dynamic.partition.mode" -> "nonstrict") {
@@ -69,7 +69,7 @@ class V1WriteHiveCommandSuite
}
test("insert into hive table") {
- withCovnertMetastore { _ =>
+ withConvertMetastore { _ =>
withPlannedWrite { enabled =>
withTable("t") {
sql(
@@ -90,7 +90,7 @@ class V1WriteHiveCommandSuite
}
test("insert overwrite hive table") {
- withCovnertMetastore { _ =>
+ withConvertMetastore { _ =>
withPlannedWrite { enabled =>
withTable("t") {
withSQLConf("hive.exec.dynamic.partition.mode" -> "nonstrict") {
@@ -111,7 +111,7 @@ class V1WriteHiveCommandSuite
}
test("insert into hive table with static partitions only") {
- withCovnertMetastore { _ =>
+ withConvertMetastore { _ =>
withPlannedWrite { enabled =>
withTable("t") {
sql(
@@ -129,7 +129,7 @@ class V1WriteHiveCommandSuite
}
test("v1 write to hive table with sort by literal column preserve custom
order") {
- withCovnertMetastore { _ =>
+ withConvertMetastore { _ =>
withPlannedWrite { enabled =>
withSQLConf("hive.exec.dynamic.partition.mode" -> "nonstrict") {
withTable("t") {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]