Spark Scala Dateframe: How to handle money datatype in postgresql table?

后端 未结 0 1655
猫巷女王i
猫巷女王i 2021-02-08 16:20

I need save a dataframe into PostgreSQL table, which has some fields with Money Datatype.

I tried to cast the data to DoubleType before storing, which seems not working.

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