convert sting to Date data type in spark sql

AzeemK 516 Reputation points

Whats the best way to convert this string in Date data type in spark sql

20210810 to 08/10/2021

I am keep getting null with T0_Date Function

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,972 questions
{count} votes

0 additional answers

Sort by: Most helpful