Not able to write spark dataset to database using jdbc

后端 未结 1 1213
北恋
北恋 2020-12-07 05:53

I need to write my spark dataset to oracle database table. I am using dataset write method with append mode. But getting analysis exception, when the spark job was triggered

相关标签:
1条回答
  • 2020-12-07 06:17

    You need to use either abcDataset.write.jdbc or abcDataset.write.format("jdbc") when you are writing via jdbc from spark to rdbms.

    0 讨论(0)
提交回复
热议问题