Skip to content

read parquet progress > 100 #10012

@yiyuanliu

Description

@yiyuanliu

What happens?

It's a very simple bug; it's surprising that it wasn't caught in the CI tests.

CREATE TABLE all_types AS
SELECT * EXCLUDE (bit, "union") REPLACE (
	case when extract(month from interval) <> 0 then interval '1 month 1 day 12:13:34.123' else interval end AS interval
)
FROM test_all_types();
COPY all_types TO 'all_types.parquet' (FORMAT PARQUET);
SELECT * FROM 'all_types.parquet';
Error: INTERNAL Error: Assertion triggered in file "/Users/liuyiyuan/code/duckdb/src/parallel/executor.cpp" on line 600: progress[i] <= 100

To Reproduce

Compile a debug version of DuckDB and run the above SQL statement.

OS:

os x

DuckDB Version:

commit 2414840

DuckDB Client:

cli

Full Name:

Yiyuan Liu

Affiliation:

High-Flyer AI

Have you tried this on the latest main branch?

I have tested with a main build

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

  • Yes, I have

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions