Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30184

Implement a helper method for aliasing functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      In PR https://github.com/apache/spark/pull/26712 , we have introduced expressionWithAlias function in FunctionRegistry.scala which forwards function name submitted at runtime.

      This Jira is to use expressionWithAlias for remaining functions for which alias name can be used. Remaining functions are:
      Average, First, Last, ApproximatePercentile, StddevSamp, VarianceSamp

      Attachments

        Issue Links

          Activity

            People

              aman_omer Aman Omer
              aman_omer Aman Omer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: