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

Complement SQL expression document

    XMLWordPrintableJSON

Details

    • Umbrella
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • None
    • SQL
    • None

    Description

      We have ExpressionDescription for SQL expressions. The expression description tells what an expression's usage, arguments, and examples. Users can understand how to use those expressions by DESCRIBE command in SQL:

      spark-sql> DESCRIBE FUNCTION EXTENDED In;
      Function: in
      Class: org.apache.spark.sql.catalyst.expressions.In
      Usage: expr1 in(expr2, expr3, ...) - Returns true if `expr` equals to any valN.
      Extended Usage:
          No example/argument for in.
      

      Not all SQL expressions have complete description now. For example, in the above case, there is no example for function in. This task is going to complement the expression description.

      Attachments

        Activity

          People

            Unassigned Unassigned
            viirya L. C. Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: