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

Skip to content

Default values for columns cause Invalid Error #479

@onnimonni

Description

@onnimonni

What happens?

I'm trying to create a table with default value into ducklake and it fails:

CREATE TABLE my_timeseries (ts TIMESTAMP, x DOUBLE PRECISION, y DOUBLE PRECISION, is_deleted BOOLEAN DEFAULT FALSE);
Invalid Error:
Unknown exception in ExecutorTask::Execute

I tried to check from the docs and didn't find anything related to if these should be supported or not:
https://ducklake.select/docs/stable/duckdb/introduction

And if they would not be supported I assumed there would be more human readable error.

Thanks again 😊!

To Reproduce

INSTALL ducklake;
ATTACH 'ducklake:my_ducklake.ducklake' AS my_ducklake;

USE my_ducklake;

CREATE TABLE my_timeseries (ts TIMESTAMP, x DOUBLE PRECISION, y DOUBLE PRECISION, is_deleted BOOLEAN DEFAULT FALSE);

OS:

MacOS 15.6.1

DuckDB Version:

v1.4.0 (Andium) b8a06e4a22

DuckLake Version:

45788f0

DuckDB Client:

CLI

Hardware:

Macbook Pro M1 Pro

Full Name:

Onni Hakala

Affiliation:

Freelancer

What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.

I have tested with a stable release

Did you include all relevant data sets for reproducing the issue?

Yes

Did you include all code required to reproduce the issue?

  • Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

  • Yes, I have

Metadata

Metadata

Assignees

No one assigned

    Labels

    expected behaviorThe behavior described in the issue is expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions