Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017 07:56 AM
@jack karthik What have you tried? Have you tried cast()?
https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.Column
df.select(df("colA").cast("string"))