我正在编写一些代码来使用presto将Dataframe保存到配置单元数据库
df.write.format("jdbc")
.option("url", "jdbc:presto://myurl/hive?user=user/default")
.option("driver","com.facebook.presto.jdbc.PrestoDriver")
.option("dbtable", "myhivetable")
.mode("overwrite")
.save()
这实际上必须起作用,但这实际上引发了一个例外
java.lang.IllegalArgumentException: Can't get JDBC type for array<string>
暂无答案!
目前还没有任何答案,快来回答吧!