Skip to content
This repository has been archived by the owner on Apr 14, 2018. It is now read-only.

Investigate whether temp tables should be supported #29

Closed
imanuelcostigan opened this issue Jun 18, 2015 · 2 comments
Closed

Investigate whether temp tables should be supported #29

imanuelcostigan opened this issue Jun 18, 2015 · 2 comments
Labels
Milestone

Comments

@imanuelcostigan
Copy link
Owner

In particular, within db_list_tables and db_has_table. It may be necessary because tbl_sql and copy_to check for the existence of a table.

NB: temp table support was removed in 7679476 because JDBC API does not support this.

@imanuelcostigan imanuelcostigan added this to the v0.2 milestone Jun 18, 2015
@imanuelcostigan
Copy link
Owner Author

Recent MSFT documentation of temp tables here

@imanuelcostigan
Copy link
Owner Author

Alternative is to follow db_has_table() method for MySQL:

db_has_table.MySQLConnection <- function(con, table, ...) {
  # MySQL has no way to list temporary tables, so we always NA to
  # skip any local checks and rely on the database to throw informative errors
  NA
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant