Skip to content

Commit 0a8a0b8

Browse files
committed
Comments for V1 Hive catalog tests
1 parent 9a59105 commit 0a8a0b8

File tree

6 files changed

+22
-0
lines changed

6 files changed

+22
-0
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/AlterTableAddPartitionSuite.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ package org.apache.spark.sql.hive.execution.command
1919

2020
import org.apache.spark.sql.execution.command.v1
2121

22+
/**
23+
* The class contains tests for the `ALTER TABLE .. ADD PARTITION` command to check
24+
* V1 Hive external table catalog.
25+
*/
2226
class AlterTableAddPartitionSuite
2327
extends v1.AlterTableAddPartitionSuiteBase
2428
with CommandSuiteBase

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/AlterTableDropPartitionSuite.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ package org.apache.spark.sql.hive.execution.command
1919

2020
import org.apache.spark.sql.execution.command.v1
2121

22+
/**
23+
* The class contains tests for the `ALTER TABLE .. DROP PARTITION` command to check
24+
* V1 Hive external table catalog.
25+
*/
2226
class AlterTableDropPartitionSuite
2327
extends v1.AlterTableDropPartitionSuiteBase
2428
with CommandSuiteBase

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/AlterTableRenamePartitionSuite.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ package org.apache.spark.sql.hive.execution.command
1919

2020
import org.apache.spark.sql.execution.command.v1
2121

22+
/**
23+
* The class contains tests for the `ALTER TABLE .. RENAME PARTITION` command to check
24+
* V1 Hive external table catalog.
25+
*/
2226
class AlterTableRenamePartitionSuite
2327
extends v1.AlterTableRenamePartitionSuiteBase
2428
with CommandSuiteBase

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/DropTableSuite.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ package org.apache.spark.sql.hive.execution.command
1919

2020
import org.apache.spark.sql.execution.command.v1
2121

22+
/**
23+
* The class contains tests for the `DROP TABLE` command to check V1 Hive external table catalog.
24+
*/
2225
class DropTableSuite extends v1.DropTableSuiteBase with CommandSuiteBase

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/ShowPartitionsSuite.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ package org.apache.spark.sql.hive.execution.command
2020
import org.apache.spark.sql.{Row, SaveMode}
2121
import org.apache.spark.sql.execution.command.v1
2222

23+
/**
24+
* The class contains tests for the `SHOW PARTITIONS` command to check
25+
* V1 Hive external table catalog.
26+
*/
2327
class ShowPartitionsSuite extends v1.ShowPartitionsSuiteBase with CommandSuiteBase {
2428
test("null and empty string as partition values") {
2529
import testImplicits._

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/command/ShowTablesSuite.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ package org.apache.spark.sql.hive.execution.command
1919

2020
import org.apache.spark.sql.execution.command.v1
2121

22+
/**
23+
* The class contains tests for the `SHOW TABLES` command to check V1 Hive external table catalog.
24+
*/
2225
class ShowTablesSuite extends v1.ShowTablesSuiteBase with CommandSuiteBase

0 commit comments

Comments
 (0)