[
https://issues.apache.org/jira/browse/SPARK-21232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065980#comment-16065980
]
Apache Spark commented on SPARK-21232:
--------------------------------------
User 'mmolimar' has created a pull request for this issue:
https://github.com/apache/spark/pull/18447
> 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
> Fix For: 2.2.0
>
>
> 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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]