Skip to content

Commit fd8cdbd

Browse files
committed
address review comment
1 parent c356ebe commit fd8cdbd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryTableScanExec.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ case class InMemoryTableScanExec(
5151
case BooleanType | ByteType | ShortType | IntegerType | LongType |
5252
FloatType | DoubleType => false
5353
case _ => true
54-
}).isEmpty &&
55-
!WholeStageCodegenExec.isTooManyFields(conf, relation.schema) &&
56-
children.find(p => WholeStageCodegenExec.isTooManyFields(conf, p.schema)).isEmpty
54+
}).isEmpty && !WholeStageCodegenExec.isTooManyFields(conf, relation.schema)
5755
}
5856

5957
private val columnIndices =

0 commit comments

Comments
 (0)