Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Nov 29, 2024
1 parent 41370eb commit 70f4d3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ class NativeUtil {
*
* @param numOutputCols
* The number of output columns
* @param arrowFfiMetric
* SQLMetric to record time spend performing Arrow FFI to transfer batches from native to JVM
* @param func
* The function to call to get the next batch
* @return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ case class CometTakeOrderedAndProjectExec(
childRDD
} else {
val localTopK = if (orderingSatisfies) {
CometExecUtils.getNativeLimitRDD(
childRDD,
child.output,
limit,
arrowFfiMetric)
CometExecUtils.getNativeLimitRDD(childRDD, child.output, limit, arrowFfiMetric)
} else {
val numParts = childRDD.getNumPartitions
childRDD.mapPartitionsWithIndexInternal { case (idx, iter) =>
Expand Down

0 comments on commit 70f4d3b

Please sign in to comment.