Skip to content

Commit f95abfd

Browse files
zhzhanliancheng
authored andcommitted
reuse test suite
1 parent 7cc2c64 commit f95abfd

File tree

2 files changed

+2
-497
lines changed

2 files changed

+2
-497
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/OrcPartitionDiscoverySuite.scala

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -254,25 +254,5 @@ class OrcPartitionDiscoverySuite extends QueryTest with FunSuiteLike with Before
254254
}
255255
}
256256
}
257-
258-
ignore("read partitioned table - merging compatible schemas: not supported yet") {
259-
withTempDir { base =>
260-
makeOrcFile(
261-
(1 to 10).map(i => Tuple1(i)).toDF("intField"),
262-
makePartitionDir(base, defaultPartitionName, "pi" -> 1))
263-
264-
makeOrcFile(
265-
(1 to 10).map(i => (i, i.toString)).toDF("intField", "stringField"),
266-
makePartitionDir(base, defaultPartitionName, "pi" -> 2))
267-
268-
load(base.getCanonicalPath, "org.apache.spark.sql.hive.orc").registerTempTable("t")
269-
270-
withTempTable("t") {
271-
checkAnswer(
272-
sql("SELECT * FROM t"),
273-
(1 to 10).map(i => Row(i, null, 1)) ++ (1 to 10).map(i => Row(i, i.toString, 2)))
274-
}
275-
}
276-
}
277257
}
278258

0 commit comments

Comments
 (0)