Skip to content

Commit 64a68fc

Browse files
committed
Fix missing test.
1 parent ac76822 commit 64a68fc

File tree

1 file changed

+1
-1
lines changed
  • sql/core/src/test/scala/org/apache/spark/sql/execution/command

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ abstract class DDLSuite extends QueryTest with SQLTestUtils {
17251725
column.map(_.metadata).getOrElse(Metadata.empty)
17261726
}
17271727
// Ensure that change column will preserve other metadata fields.
1728-
sql("ALTER TABLE dbx.tab1 CHANGE COLUMN col1 col1 INT COMMENT 'this is col1'")
1728+
sql("ALTER TABLE dbx.tab1 CHANGE COLUMN col1 TYPE INT COMMENT 'this is col1'")
17291729
assert(getMetadata("col1").getString("key") == "value")
17301730
assert(getMetadata("col1").getString("comment") == "this is col1")
17311731
}

0 commit comments

Comments
 (0)