Skip to content

dbWriteTable - not atomic; should it be? #307

Closed

Description

@mmuurr

As far as I can tell, dbWriteTable is not (transactionally) atomic; should it be?
Obviously we can wrap it a transaction block from R code, but I'm curious if this was an intentional choice for some particular reasons (that I'd love to learn about!).

I couldn't find DBI documentation one-way-or-the-other about dbWriteTable and SQL transactions, so also perhaps it'd be useful to update the help pages to specifically mention this?

Activity

  1. krlmlr commented on Jun 7, 2021

    @krlmlr
    Member

    Thanks. I think it should be atomic, that's what we strive for at least. Not all DBMS allow transactions across DDL and DML, though.

  2. added this to the 1.4.0 milestone on Sep 6, 2021
  3. added a commit that references this issue on Sep 13, 2021
  4. github-actions commented on Sep 14, 2022

    @github-actions
    Contributor

    This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

  5. locked and limited conversation to collaborators on Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions