write spark dataframe to redshift