Convert DataType of all columns of certain DataType to another DataType in Spark DataFrame using Scala

后端 未结 0 1470
眼角桃花
眼角桃花 2020-12-16 09:14

I have a Spark DataFrame with more than 100 columns. In this DataFrame, I would like to convert all the DoubleType columns to DecimalType(18,5). I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题