dolt icon indicating copy to clipboard operation
dolt copied to clipboard

DBeaver does not support updating a branch

Open ericmock opened this issue 2 years ago • 1 comments

Version: tip of main

dolt checkout branch_2 dolt sql-server In DBeaver:

  • select * from from mydatabase/branch_1.table
  • edit a cell

See the screenshot.

image

ericmock avatar Dec 05 '22 22:12 ericmock

Hey @ericmock, thanks for the bug report! It seems like dBeaver is doing something strange when trying to edit result sets from branches that the server isn't on.

I'm currently looking into this issue, but for now here is a workaround. dBeaver script:

use `paylesshealth`;
call dolt_checkout('branch_EN4');
select * from `hospitals` where ccn = "041302";

Basically, make sure to not use the database/branch syntax and call dolt_checkout() the branch you want right before selecting. Hopefully, this lets you continue working, while we look more into this.

jycor avatar Dec 05 '22 23:12 jycor