[ https://issues.apache.org/jira/browse/SPARK-21232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065972#comment-16065972 ]
Felix Cheung commented on SPARK-21232: -------------------------------------- I don't see this in Scala - are you proposing we add this? > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org