Pyspark dataframe ERROR: column “DateCreated” is of type timestamp with time zone but expression is of type character varying
Thru Pyspark dataframe, Records are selected(thru spark.read.format) from SQL Server & insert into Postgres table using dataframe.write option. During the insert, it is throwing with following error.