Ramanand Jaiswal created SPARK-29955:
----------------------------------------
Summary: Can't cast String MapType to MapType
Key: SPARK-29955
URL: https://issues.apache.org/jira/browse/SPARK-29955
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.4.4
Reporter: Ramanand Jaiswal
I'm not able to cast the String Map type to MapType.
{code:java}
dataset.withColumn("test",
dataset.col("test").cast(DataTypes.createMapType(StringType, StringType)));
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]