Skip to content

Commit af4d508

Browse files
committed
Avoid refs to the hive package
1 parent 0b557b2 commit af4d508

13 files changed

+13
-13
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/command/AlterTableAddPartitionSuiteBase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import org.apache.spark.sql.internal.SQLConf
3434
* - V1 In-Memory catalog:
3535
* [[org.apache.spark.sql.execution.command.v1.AlterTableAddPartitionSuite]]
3636
* - V1 Hive External catalog:
37-
* [[org.apache.spark.sql.hive.execution.command.AlterTableAddPartitionSuite]]
37+
* `org.apache.spark.sql.hive.execution.command.AlterTableAddPartitionSuite`
3838
*/
3939
trait AlterTableAddPartitionSuiteBase extends QueryTest with DDLCommandTestUtils {
4040
override val command = "ALTER TABLE .. ADD PARTITION"

sql/core/src/test/scala/org/apache/spark/sql/execution/command/AlterTableDropPartitionSuiteBase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import org.apache.spark.sql.internal.SQLConf
3333
* - V1 In-Memory catalog:
3434
* [[org.apache.spark.sql.execution.command.v1.AlterTableDropPartitionSuite]]
3535
* - V1 Hive External catalog:
36-
* [[org.apache.spark.sql.hive.execution.command.AlterTableDropPartitionSuite]]
36+
* `org.apache.spark.sql.hive.execution.command.AlterTableDropPartitionSuite`
3737
*/
3838
trait AlterTableDropPartitionSuiteBase extends QueryTest with DDLCommandTestUtils {
3939
override val command = "ALTER TABLE .. DROP PARTITION"

sql/core/src/test/scala/org/apache/spark/sql/execution/command/AlterTableRenamePartitionSuiteBase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import org.apache.spark.sql.QueryTest
3131
* - V1 In-Memory catalog:
3232
* [[org.apache.spark.sql.execution.command.v1.AlterTableRenamePartitionSuite]]
3333
* - V1 Hive External catalog:
34-
* [[org.apache.spark.sql.hive.execution.command.AlterTableRenamePartitionSuite]]
34+
* `org.apache.spark.sql.hive.execution.command.AlterTableRenamePartitionSuite`
3535
*/
3636
trait AlterTableRenamePartitionSuiteBase extends QueryTest with DDLCommandTestUtils {
3737
override val command = "ALTER TABLE .. RENAME PARTITION"

sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLCommandTestUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import org.apache.spark.sql.test.SQLTestUtils
2929
* is not applicable to all supported catalogs, it should be placed to a specific trait:
3030
*
3131
* - V1 In-Memory catalog: [[org.apache.spark.sql.execution.command.v1.CommandSuiteBase]]
32-
* - V1 Hive External catalog: [[org.apache.spark.sql.hive.execution.command.CommandSuiteBase]]
32+
* - V1 Hive External catalog: `org.apache.spark.sql.hive.execution.command.CommandSuiteBase`
3333
* - V2 In-Memory catalog: [[org.apache.spark.sql.execution.command.v2.CommandSuiteBase]]
3434
*/
3535
trait DDLCommandTestUtils extends SQLTestUtils {

sql/core/src/test/scala/org/apache/spark/sql/execution/command/DropTableSuiteBase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import org.apache.spark.sql.{AnalysisException, QueryTest, Row}
2727
* - V2 table catalog tests: [[org.apache.spark.sql.execution.command.v2.DropTableSuite]]
2828
* - V1 table catalog tests: [[org.apache.spark.sql.execution.command.v1.DropTableSuiteBase]]
2929
* - V1 In-Memory catalog: [[org.apache.spark.sql.execution.command.v1.DropTableSuite]]
30-
* - V1 Hive External catalog: [[org.apache.spark.sql.hive.execution.command.DropTableSuite]]
30+
* - V1 Hive External catalog: `org.apache.spark.sql.hive.execution.command.DropTableSuite`
3131
*/
3232
trait DropTableSuiteBase extends QueryTest with DDLCommandTestUtils {
3333
override val command = "DROP TABLE"

sql/core/src/test/scala/org/apache/spark/sql/execution/command/ShowPartitionsSuiteBase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import org.apache.spark.sql.types.{StringType, StructType}
3030
* - V1 table catalog tests: [[org.apache.spark.sql.execution.command.v1.ShowPartitionsSuiteBase]]
3131
* - V1 In-Memory catalog: [[org.apache.spark.sql.execution.command.v1.ShowPartitionsSuite]]
3232
* - V1 Hive External catalog:
33-
* [[org.apache.spark.sql.hive.execution.command.ShowPartitionsSuite]]
33+
* `org.apache.spark.sql.hive.execution.command.ShowPartitionsSuite`
3434
*/
3535
trait ShowPartitionsSuiteBase extends QueryTest with DDLCommandTestUtils {
3636
override val command = "SHOW PARTITIONS"

sql/core/src/test/scala/org/apache/spark/sql/execution/command/ShowTablesSuiteBase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import org.apache.spark.sql.types.StructType
3131
* - V2 table catalog tests: [[org.apache.spark.sql.execution.command.v2.ShowTablesSuite]]
3232
* - V1 table catalog tests: [[org.apache.spark.sql.execution.command.v1.ShowTablesSuiteBase]]
3333
* - V1 In-Memory catalog: [[org.apache.spark.sql.execution.command.v1.ShowTablesSuite]]
34-
* - V1 Hive External catalog: [[org.apache.spark.sql.hive.execution.command.ShowTablesSuite]]
34+
* - V1 Hive External catalog: `org.apache.spark.sql.hive.execution.command.ShowTablesSuite`
3535
*/
3636
trait ShowTablesSuiteBase extends QueryTest with DDLCommandTestUtils {
3737
override val command = "SHOW TABLES"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import org.apache.spark.sql.execution.command
2929
* - V1 In-Memory catalog:
3030
* [[org.apache.spark.sql.execution.command.v1.AlterTableAddPartitionSuite]]
3131
* - V1 Hive External catalog:
32-
* [[org.apache.spark.sql.hive.execution.command.AlterTableAddPartitionSuite]]
32+
* `org.apache.spark.sql.hive.execution.command.AlterTableAddPartitionSuite`
3333
*/
3434
trait AlterTableAddPartitionSuiteBase extends command.AlterTableAddPartitionSuiteBase {
3535
override protected def checkLocation(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import org.apache.spark.sql.execution.command
2828
* - V1 In-Memory catalog:
2929
* [[org.apache.spark.sql.execution.command.v1.AlterTableDropPartitionSuite]]
3030
* - V1 Hive External catalog:
31-
* [[org.apache.spark.sql.hive.execution.command.AlterTableDropPartitionSuite]]
31+
* `org.apache.spark.sql.hive.execution.command.AlterTableDropPartitionSuite`
3232
*/
3333
trait AlterTableDropPartitionSuiteBase extends command.AlterTableDropPartitionSuiteBase {
3434
override protected val notFullPartitionSpecErr = "The following partitions not found in table"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import org.apache.spark.sql.internal.SQLConf
3030
* - V1 In-Memory catalog:
3131
* [[org.apache.spark.sql.execution.command.v1.AlterTableRenamePartitionSuite]]
3232
* - V1 Hive External catalog:
33-
* [[org.apache.spark.sql.hive.execution.command.AlterTableRenamePartitionSuite]]
33+
* `org.apache.spark.sql.hive.execution.command.AlterTableRenamePartitionSuite`
3434
*/
3535
trait AlterTableRenamePartitionSuiteBase extends command.AlterTableRenamePartitionSuiteBase {
3636
protected def createSinglePartTable(t: String): Unit = {

0 commit comments

Comments
 (0)