Skip to content

Redundant notFound exception when calling DBI::dbExecute("drop table ..") #375

@valentas-kurauskas

Description

@valentas-kurauskas

When calling drop table, drop view, etc commands for an existing table (view, etc) through DBI::dbExecute, the command is completed, but an exception is thrown. This makes it necessary to surround each such query with try() as a workaround.


con <- DBI::dbConnect(bigrquery::bigquery(), project="myProject", dataset="myDataset")
#priority parameter is ignored
DBI::dbExecute(con, "drop table myDataset.myTable")
#Error : Not found: Table myDataset.myTable [notFound]
DBI::dbDisconnect(con)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DBI 🗃️bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions