I am trying to use dbWriteTable function in DBI package to upload a dataframe to presto server. It is throwing the following error:
"Error in .verify.JDBC.result(r, "Unable to retrieve JDBC tables list") : Unable to retrieve JDBC tables list ()"
I have also tried using insert into, create, drop commands in dbSendQuery with the same connection and it is working perfectly. I am facing issue when I use dbWriteTable function.
I have tried other functions of the DBI package like dbReadTable, dbCreateTable too which is working perfectly for me
Code:
dbWriteTable(conn,DBI::SQL("test.demo"),value = df)