You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2019/11/20 04:35:00 UTC

[jira] [Resolved] (SPARK-21232) New built-in SQL function - Data_Type

     [ https://issues.apache.org/jira/browse/SPARK-21232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-21232.
----------------------------------
    Resolution: Duplicate

> New built-in SQL function - Data_Type
> -------------------------------------
>
>                 Key: SPARK-21232
>                 URL: https://issues.apache.org/jira/browse/SPARK-21232
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, SparkR, SQL
>    Affects Versions: 2.1.1
>            Reporter: Mario Molina
>            Priority: Minor
>
> This function returns the data type of a given column.
> {code:java}
> data_type("a")
> // returns string
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org