Skip to content

Commit 53448b2

Browse files
committed
address comments
1 parent 7481684 commit 53448b2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statements.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ case class CacheTableStatement(
340340
options: Map[String, String]) extends ParsedStatement
341341

342342
/**
343-
* A UNCACHE TABLE statement, as parsed from SQL
343+
* An UNCACHE TABLE statement, as parsed from SQL
344344
*/
345345
case class UncacheTableStatement(
346346
tableName: Seq[String],

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/DDLParserSuite.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,13 +1039,13 @@ class DDLParserSuite extends AnalysisTest {
10391039
"missing 'COLUMNS' at '<EOF>'")
10401040
}
10411041

1042-
test("MSCK REPAIR table") {
1042+
test("MSCK REPAIR TABLE") {
10431043
comparePlans(
10441044
parsePlan("MSCK REPAIR TABLE a.b.c"),
10451045
RepairTableStatement(Seq("a", "b", "c")))
10461046
}
10471047

1048-
test("CACHE table") {
1048+
test("CACHE TABLE") {
10491049
comparePlans(
10501050
parsePlan("CACHE TABLE a.b.c"),
10511051
CacheTableStatement(Seq("a", "b", "c"), None, false, Map.empty))
@@ -1062,7 +1062,7 @@ class DDLParserSuite extends AnalysisTest {
10621062
"It is not allowed to add catalog/namespace prefix a.b")
10631063
}
10641064

1065-
test("UNCACHE TABLE table") {
1065+
test("UNCACHE TABLE") {
10661066
comparePlans(
10671067
parsePlan("UNCACHE TABLE a.b.c"),
10681068
UncacheTableStatement(Seq("a", "b", "c"), ifExists = false))
@@ -1108,7 +1108,7 @@ class DDLParserSuite extends AnalysisTest {
11081108
comparePlans(parsed5, expected5)
11091109
}
11101110

1111-
test("REFRESH TABLE table") {
1111+
test("REFRESH TABLE") {
11121112
comparePlans(
11131113
parsePlan("REFRESH TABLE a.b.c"),
11141114
RefreshTableStatement(Seq("a", "b", "c")))

0 commit comments

Comments
 (0)