cloud-fan commented on code in PR #42068:
URL: https://github.com/apache/spark/pull/42068#discussion_r1267616589
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/python/MapInBatchEvaluatorFactory.scala:
##########
@@ -85,8 +84,7 @@ class MapInBatchEvaluatorFactory(
val flattenedBatch = new ColumnarBatch(outputVectors.toArray)
flattenedBatch.setNumRows(batch.numRows())
flattenedBatch.rowIterator.asScala
- }
- .map(unsafeProj)
+ }.map(unsafeProj)
Review Comment:
since we are fixing the code style here, I think we can fix more
```
columnarBatchIter.flatMap { batch =>
...
}.map(unsafeProj)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]