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

后端 未结 0 2006
情书的邮戳
情书的邮戳 2021-02-08 16:31

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.

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