Skip to content

Commit e7c4e72

Browse files
committed
Fix unit test.
1 parent 656b068 commit e7c4e72

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -266,32 +266,23 @@ class HiveQuerySuite extends HiveComparisonTest {
266266
Array("key", "int", null),
267267
Array("value", "string", null),
268268
Array("dt", "string", null),
269-
Array("# Partition Information", null, null),
269+
Array("# Partition Information", "", ""),
270+
Array("# col_name", "data_type", "comment"),
270271
Array("dt", "string", null))
271272
) {
272273
hql("DESCRIBE test_describe_commands1")
273274
.select('col_name, 'data_type, 'comment)
274275
.collect()
275276
}
276277

277-
// Describe a table with keyword FORMATTED
278-
// We only
279-
assertResult(6) {
280-
hql("DESCRIBE FORMATTED test_describe_commands1").count()
281-
}
282-
283-
// Describe a table
284-
assertResult(6) {
285-
hql("DESCRIBE EXTENDED test_describe_commands1").count()
286-
}
287-
288278
// Describe a table with a fully qualified table name
289279
assertResult(
290280
Array(
291281
Array("key", "int", null),
292282
Array("value", "string", null),
293283
Array("dt", "string", null),
294-
Array("# Partition Information", null, null),
284+
Array("# Partition Information", "", ""),
285+
Array("# col_name", "data_type", "comment"),
295286
Array("dt", "string", null))
296287
) {
297288
hql("DESCRIBE default.test_describe_commands1")

0 commit comments

Comments
 (0)