We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac76822 commit 64a68fcCopy full SHA for 64a68fc
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala
@@ -1725,7 +1725,7 @@ abstract class DDLSuite extends QueryTest with SQLTestUtils {
1725
column.map(_.metadata).getOrElse(Metadata.empty)
1726
}
1727
// Ensure that change column will preserve other metadata fields.
1728
- sql("ALTER TABLE dbx.tab1 CHANGE COLUMN col1 col1 INT COMMENT 'this is col1'")
+ sql("ALTER TABLE dbx.tab1 CHANGE COLUMN col1 TYPE INT COMMENT 'this is col1'")
1729
assert(getMetadata("col1").getString("key") == "value")
1730
assert(getMetadata("col1").getString("comment") == "this is col1")
1731
0 commit comments