2

In R/Sparklyr,there is a spark table 'iris_csv', i want to drop it, but dplyr::db_drop_table(sc,'iris_csv') failed, anyone can help? Thanks!

Here is the error message as attached image .

enter image description here

anderwyang
  • 1,801
  • 4
  • 18
  • 1
    Please share errors, code and data as **plain text** and not as images. Thank you. – user438383 Jan 14 '22 at 12:15
  • @user438383 Here is the error message,Thanks ! Error in UseMethod("db_drop_table") : no applicable method for 'db_drop_table' applied to an object of class "c('spark_connection', 'spark_shell_connection', 'DBIConnection')" – anderwyang Jan 17 '22 at 01:42
  • 1
    Use the workaround at https://stackoverflow.com/a/46533664/ – Frank Nov 15 '22 at 19:31

0 Answers0