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

Implement a helper method for aliasing functions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: