If i use the casting in pyspark, then it is going to change the data type in the data frame into datatypes that are only supported by spark SQL (i.e. spark sql supported types) which doesn't have varchar,nvarchar etc. But I need the data types to be converted while copying this ...