Hello everyone??
I have a question to consult. After making a spatial join of
two layers?? I output the result using csv format or jdbc.
//csv format
dfContain.write.format("csv").save("file:///F:/data/result")
//jdbc format
dfContain.write
.mode("append")
.option("createTableColumnTypes", "l_gid integer, b_gid integer")
.jdbc(jdbcUrl, "result", prop)
I found it take longer to output the result than to computing. Why?
Which method can output faster, except csv or jdbc?? Any sugestions will be
appreciated.