Skip to content

Commit b24e3cc

Browse files
committed
Updated Hive ORC test suites to cover nested predicates
1 parent 80c0937 commit b24e3cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ class HiveOrcFilterSuite extends OrcTest with TestHiveSingleton {
4747
checker: (SearchArgument) => Unit): Unit = {
4848
val output = predicate.collect { case a: Attribute => a }.distinct
4949
val query = df
50-
.select(output.map(e => Column(e)): _*)
50+
// SPARK-25557
51+
// The following select will flatten the nested data structure,
52+
// so comment it out for now until we find a better approach.
53+
// .select(output.map(e => Column(e)): _*)
5154
.where(Column(predicate))
5255

5356
var maybeRelation: Option[HadoopFsRelation] = None

0 commit comments

Comments
 (0)