Skip to content

Commit f612321

Browse files
committed
Bugfix, df columns were being flattened in one of the ORC v1 suites still
1 parent 3e78632 commit f612321

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcV1FilterSuite.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ class OrcV1FilterSuite extends OrcFilterSuite {
4040
checker: (SearchArgument) => Unit): Unit = {
4141
val output = predicate.collect { case a: Attribute => a }.distinct
4242
val query = df
43-
.select(output.map(e => Column(e)): _*)
43+
// SPARK-25557
44+
// The following select will flatten the nested data structure,
45+
// so comment it out for now until we find a better approach.
46+
// .select(output.map(e => Column(e)): _*)
4447
.where(Column(predicate))
4548

4649
var maybeRelation: Option[HadoopFsRelation] = None

0 commit comments

Comments
 (0)