Mario Molina created SPARK-21232:
------------------------------------

             Summary: 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:scala}
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

Reply via email to