Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jul 1, 2024
1 parent c55b7cc commit c6eaae5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ class CometSparkSessionExtensions
if (CometConf.COMET_CBO_ENABLED.get()) {
// simple heuristic to avoid moving from Spark execution to Comet execution just
// for the final sort
// in the future, we can make this check more generic and base it on actual costs
cometPlan match {
case CometSortExec(_, _, _, e: CometShuffleExchangeExec, _)
if !e.child.supportsColumnar =>
Expand Down

0 comments on commit c6eaae5

Please sign in to comment.