Skip to content

read csv progress > 100 #10017

@yiyuanliu

Description

@yiyuanliu

What happens?

Read a compressed CSV file or multiple CSV files with DuckDB will trigger assertion error.

copy (select unnest(range(1000))) to 'test-1.csv';
copy (select unnest(range(1000))) to 'test-2.csv';
select * from 'test-*.csv';
Error: INTERNAL Error: Assertion triggered in file "/Users/liuyiyuan/code/duckdb/src/parallel/executor.cpp" on line 600: progress[i] <= 100
D from './data/csv/who.csv.gz';
Error: INTERNAL Error: Assertion triggered in file "/Users/liuyiyuan/code/duckdb/src/parallel/executor.cpp" on line 600: progress[i] <= 100

To Reproduce

Compile DuckDB in debug mode and run the query.

OS:

macos

DuckDB Version:

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