Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

dbWriteTable append=TRUE does not behave like rbind #19

Open
hannes opened this issue May 23, 2016 · 3 comments
Open

dbWriteTable append=TRUE does not behave like rbind #19

hannes opened this issue May 23, 2016 · 3 comments
Assignees

Comments

@hannes
Copy link
Owner

hannes commented May 23, 2016

i think this should just break noisily if the names or types aren't exactly the same

Reproducible: Always

Steps to Reproduce:

library(DBI)

db <- dbConnect( MonetDB.R::MonetDBLite() )
x <- mtcars

dbWriteTable( db , 'x' , x )
x <- x[ , sort( names( x ) ) ]
dbWriteTable( db , 'x' , x , append = TRUE )

dbReadTable( db , 'x' )
@ajdamico
Copy link
Contributor

ajdamico commented Jan 5, 2017

could i try this?

@hannes
Copy link
Owner Author

hannes commented Jan 5, 2017

sure why not

@ajdamico ajdamico self-assigned this Jan 5, 2017
@ajdamico ajdamico modified the milestone: 0.4.0 Mar 5, 2017
@hannes hannes modified the milestones: 0.5.0, 0.4.0 Jun 15, 2017
@ajdamico
Copy link
Contributor

hi, if you choose a different strategy to handle coercion when appending, the testthat chunk of this pull request is probably still useful. thanks

#154

@ajdamico ajdamico assigned hannes and unassigned ajdamico Jun 15, 2017
@hannes hannes removed this from the 0.5.0 milestone Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants