Skip to content

Unable to Edit #586

@samzuercher

Description

@samzuercher

I am unable to make any edits in dbeaver.

1. Setup

  • :memory: db with duckdb_jdbc-1.4.4.0.jar
  • Run
INSTALL httpfs;LOAD httpfs;
INSTALL postgres;LOAD postgres;
INSTALL ducklake;LOAD ducklake;
INSTALL json;LOAD json;

CREATE OR REPLACE SECRET (
    TYPE gcs,
    KEY_ID 'GOOG',
    SECRET 'hh6w'
);

ATTACH 'ducklake:postgres:host=localhost dbname=bkt_gen_lake01 user=user1' AS bkt_gen (
    DATA_PATH 'gs://bucketname/some/duckdb/lake01'
);

-- note: in my sample data and table is already existing
CREATE TABLE IF NOT EXISTS "main"."Document" (
    "Path" VARCHAR,
    "Type" USMALLINT,
    "Date" TIMESTAMP,
    "Amount" DOUBLE,
    "Currency" VARCHAR,
    "Description" VARCHAR,
    "DescriptionAbbreviation" VARCHAR,
    "AccountCredit" USMALLINT,
    "AccountDebit" USMALLINT,
    "PartiesJson" JSON,
    "Ids" VARCHAR[],
    "Topic" USMALLINT[],
    "Generation" USMALLINT,
    "Created" TIMESTAMP,
    "Modified" TIMESTAMP,
    "Note" VARCHAR
);

2. Try to edit

  1. Right-Click on a ducklake-Table -> View Data
  2. Double Click in any Cell, e.g. Type, change a value and click 'Save' at the bottom of the UI
  3. It shows:
Error synchronizing data with database

Can not bind statement parameter
  Unknown target type 2003

Am i doing something wrong or is Inline-Editing for ducklake not yet supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions