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

It is wrong to the instructions of some functions,such as boolean,tinyint,smallint,int,bigint,float,double,decimal,date,timestamp,binary,string

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: Documentation, SQL
    • Labels:
      None

      Description

      spark-sql>desc function boolean;
      Function: boolean
      Class: org.apache.spark.sql.catalyst.expressions.Cast
      Usage: boolean(expr AS type) - Casts the value `expr` to the target data type `type`.

      spark-sql>desc function int;
      Function: int
      Class: org.apache.spark.sql.catalyst.expressions.Cast
      Usage: int(expr AS type) - Casts the value `expr` to the target data type `type`.

        Attachments

          Activity

            People

            • Assignee:
              10110346 liuxian
              Reporter:
              10110346 liuxian
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: