Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2019 02:56 AM
Hi @desai.n.3, In scala please use coalesce function to convert Date format,
df.withColumn("Date", coalesce(
to_timestamp($"Date", "yyyyMMdd"))).show<br>