data.sort(data.name.desc()).write.jdbc("jdbc:mysql://localhost:3306/test1?useUnicode=true&characterEncoding=utf-8&useSSL=false",'nameAndCount','overwrite',conn_param)
data.sort(data.name.desc()).write.jdbc("jdbc:mysql://localhost:3306/test1?useUnicode=true&characterEncoding=utf-8&useSSL=false",'nameAndCount','overwrite',conn_param)