Skip to content

Datafusion CLI crashes on large queries #21709

@comphead

Description

@comphead

Describe the bug

The formatting fails on large resultsets, presumably because of eagerly consuming the entire output, not just small rows set which are necessary for output

thread 'main' (29539648) panicked at datafusion-cli/src/print_format.rs:100:23:
Formatting argument out of range

To Reproduce

Have a large parquet file, then

> CREATE EXTERNAL TABLE test_table
                 STORED AS PARQUET
                 LOCATION '/tmp/generated_data.parquet_p1';

select * from test_table

Expected behavior

should not crash

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions