Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Reattach a ducklake with MySQL catalog #70

@adrien-ferrara

Description

@adrien-ferrara

Hello,

Maybe I missed some information somewhere.

I set up a DuckLake with a MySQL catalog, everything seemed fine, but when I wan't to reattach it I run into those errors:

  • Without specifying DATA_PATH:

ATTACH 'ducklake:mysql:db=ducklake_catalog host=192.168.1.100 user=root port=3306 password=xxx' AS myDucklake ; Invalid Input Error:
Attempting to create a new ducklake instance but data_path is not set - set the DATA_PATH parameter to the desired location of the data files

  • Specifiying DATA_PATH

ATTACH 'ducklake:mysql:db=ducklake_catalog host=192.168.1.100 user=root port=3306 password=xxx' AS myDucklake (DATA_PATH 'data_files/');
IO Error: Failed to initialize DuckLake:Failed to run query "CREATE TABLEducklake_catalog.ducklake_metadata(keyTEXT NOT NULL,value TEXT NOT NULL);": Table 'ducklake_metadata' already exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions