Skip to content

Commit 64a8f5a

Browse files
committed
address comments.
1 parent 5fa51b5 commit 64a8f5a

File tree

1 file changed

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

1 file changed

+1
-7
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,7 @@ class InMemoryCatalogedDDLSuite extends DDLSuite with SharedSQLContext with Befo
5050
catalog: SessionCatalog,
5151
name: TableIdentifier): CatalogTable = {
5252
val storage =
53-
CatalogStorageFormat(
54-
locationUri = Some(catalog.defaultTablePath(name)),
55-
inputFormat = None,
56-
outputFormat = None,
57-
serde = None,
58-
compressed = false,
59-
properties = Map())
53+
CatalogStorageFormat.empty.copy(locationUri = Some(catalog.defaultTablePath(name)))
6054
val metadata = new MetadataBuilder()
6155
.putString("key", "value")
6256
.build()

0 commit comments

Comments
 (0)