且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Spark DataFrame中将现有字段设置为主键?

更新时间:2023-11-18 18:32:10

@cronoik是的,它是正确的.我以为JDBC连接器不支持truncate选项.但是更改字段的大小后,它对我有用.

@cronoik yes its correct. I thought JDBC connector is not supporting truncate option. But after changing the size of the fields, it worked for me.