Converting string/chr to date using sparklyr
问题 I've brought a table into Hue which has a column of dates and i'm trying to play with it using sparklyr in Rstudio. I'd like to convert a character column into a date column like so: Weather_data = mutate(Weather_data, date2 = as.Date(date, "%m/%d/%Y")) and this runs fine but when i check: head(Weather_data) How to I properly convert the chr to dates? Thanks!!!! 回答1: The problem is that sparklyr doesn't correctly support Spark DateType . It is possible to parse dates, and correct format, but