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

Update the function descriptions with the arguments and returned values of the trigonometric functions

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.1, 2.4.0
    • Component/s: SQL
    • Labels:

      Description

      We need an update on the function descriptions for all the trigonometric functions. For example, cos, sin, and cot. Internally, the implementation is based on the java.lang.Math. We need a clear description about the units of the input arguments and the returned values.

      For example, the following descriptions are lacking such info.

      https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala#L551-L555

      https://github.com/apache/spark/blob/d5861aba9d80ca15ad3f22793b79822e470d6913/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L1978

        Attachments

          Activity

            People

            • Assignee:
              misutoth Mihaly Toth
              Reporter:
              smilegator Xiao Li
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: