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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Documentation, SQL
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: