Skip to content

Commit

Permalink
Added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
dilipbiswal committed Oct 27, 2018
1 parent 2bc9965 commit 07205de
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ import org.apache.spark.sql.types._
* Few examples are:
* we use this to support "nvl" by replacing it with "coalesce".
* we use this to replace Every and Any with Min and Max respectively.
*
* TODO: In future, explore an option to replace aggregate functions similar to
* how RruntimeReplaceable does.
*/
object ReplaceExpressions extends Rule[LogicalPlan] {
def apply(plan: LogicalPlan): LogicalPlan = plan transformAllExpressions {
Expand Down

0 comments on commit 07205de

Please sign in to comment.