我正在尝试使用java将sparkDataframe写入mssqldb,下面是代码片段。
DataFrameWriter<Row> dataFrameWriter = data.write().format("jdbc").mode("append")
.option(DRIVER, properties.getProperty(DRIVER))
.option(URL, properties.getProperty(URL))
.option(DATABASE_NAME, properties.getProperty(DATABASE_NAME))
.option(DB_TABLE, properties.getProperty(DB_TABLE))
.option(USER, properties.getProperty(USER))
.option(PASSWORD, properties.getProperty(PASSWORD));
dataFrameWriter.save();
在dataframewriter.save()行获取以下错误:
java.lang.UnsupportedOperationException: SortMergeJoinExec does not support generating code for Cross JoinTypes
暂无答案!
目前还没有任何答案,快来回答吧!