Skip to content

Commit

Permalink
comments update
Browse files Browse the repository at this point in the history
Signed-off-by: Firestarman <[email protected]>
  • Loading branch information
firestarman committed Jan 18, 2024
1 parent 74810e0 commit 767fbf1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,10 @@ case class GpuExpandExec(
* Get the expressions that need to be pre-projected, along with the updated
* projections for expanding.
*
* Some Spark platforms will put non-leaf expressions in Expand projections,
* then it can not leverage the GPU tiered projection across the projection lists.
* So here tries to factor out these expressions and evaluate them before
* Some rules (e.g. RewriteDistinctAggregates) in Spark will put non-leaf expressions
* in Expand projections, then it can not leverage the GPU tiered projection across
* the projection lists.
* So here tries to factor out these expressions for later evaluations before
* expanding to avoid duplicate evaluation for semantic-equal (sub) expressions.
*/
private[this] lazy val (preprojectionList, updatedProjections) = {
Expand Down

0 comments on commit 767fbf1

Please sign in to comment.